trying depth formula