Have included a trig to master length calculator on my website which should cover what you’re looking for.