Home › Music › Fret Positions

Fret Position Calculator

in
Nut to 12th fret
–
Nut to 1st fret
–
Nut to last fret
–
Narrowest spacing
–
Show the math
Enter values to see the worked formula.

Every fret position

FretFrom nutFrom previous fret

Distance from nut to fret n = scale length × (1 − 2^(−n ÷ 12)). The 12th fret sits at exactly half the scale length.

What Your Result Means

How This Calculator Works

For fret n, the distance from the nut is scale length × (1 − 2^(−n ÷ 12)). The spacing between two frets is the difference between their distances. The formula is the standard equal-temperament rule: each fret leaves 1 ÷ 2^(1/12), about 94.39%, of the remaining string length. Results are theoretical positions for the center of each fret slot and do not include saddle compensation, which is set at the bridge.

Quick Questions

What is scale length and how do I measure it?

It is the open string's vibrating length. Measure from the fretboard edge of the nut to the center of the 12th fret and double it. Measuring to the saddle directly is less reliable because saddles are set back slightly for intonation.

Does this account for intonation compensation?

No. Fret positions are calculated from the nominal scale length. Compensation, the extra few millimeters that correct for strings going sharp when pressed, is added at the saddle and sometimes the nut, not by moving frets.

Is this the same as the rule of 18?

Close. The traditional rule of 18 divides the remaining length by 18 for each fret; the exact divisor is about 17.817. This calculator uses the exact value, which is what modern builders use.

Does it work for bass, ukulele, and mandolin?

Yes. Any fretted instrument tuned in twelve-tone equal temperament uses the same ratio. Only the scale length changes: about 34 inches for a long-scale bass, 17 for a tenor ukulele, 13.9 for a mandolin.

Sources

Method & review

MethodologyHow we calculate this Reviewed & Updated2026-11 Next review2027-11

Estimate only. Results are theoretical fret positions from your scale length and do not include intonation compensation. Check measurements against your own template before cutting.