Fret Position Calculator

Fret Position Calculator

Popular AI Skill PRO

Enter Calculation

Formula

d=Scale Length−Scale Length2Fret Number/12d = \text{Scale Length} - \frac{\text{Scale Length}}{2^{\,\text{Fret Number}/12}}

Example

d=25.5−25.5212/12=12.75d = 25.5 - \frac{25.5}{2^{\,12/12}} = 12.75
Usage stats

Advertisement

Results

Distance from Nut
12.75
measured along the string from the nut
Distance from bridge (saddle) 12.75
Spacing to next fret 0.716

Report an error on this page

What is the Fret Position Calculator?

This tool determines exactly where each fret should sit on a stringed instrument such as a guitar, bass, or ukulele. Given a scale length (the distance from the nut to the bridge saddle) and a fret number, it returns the distance from the nut to that fret, the remaining distance to the bridge, and the spacing to the next fret. It is a universal physics/music tool — no country or jurisdiction applies.

Guitar neck diagram showing nut, bridge, scale length L, and distance d to a fret
Key measurements: scale length L from nut to bridge, and fret distance d measured from the nut.

How to use it

Enter your instrument's scale length in any unit you prefer (inches or millimeters — the result comes back in the same unit). Then enter the fret number you want to locate, from 1 up to 36. The calculator instantly shows where to place the fret.

The formula explained

Western instruments use 12-tone equal temperament, meaning every octave divides into 12 equal half-steps and the frequency ratio between adjacent semitones is the twelfth root of two. Because string pitch is inversely proportional to its vibrating length, the speaking length at fret n equals \( L / 2^{n/12} \). The distance from the nut to that fret is therefore $$d = L - \frac{L}{2^{\,n/12}}.$$ At the 12th fret the length is exactly halved, placing it at the midpoint — the octave.

Advertisement
Diagram showing each fret position at L divided by powers of 2 to the n over 12
Each fret sits at \( L - L/2^{n/12} \); spacing shrinks geometrically toward the bridge.

Worked example

For a Fender-style 25.5-inch scale at the 12th fret: $$d = 25.5 - \frac{25.5}{2^{12/12}} = 25.5 - 12.75 = 12.75 \text{ inches}$$ from the nut. The spacing to the 13th fret is \( 25.5 - 25.5/2^{13/12} \approx 13.4648 \), minus 12.75 \( \approx 0.7148 \) inches.

Advertisement

Constants Used in the Fret Formula

Constant Value Meaning
Twelfth root of two, \(2^{1/12}\) ≈ 1.059463 Frequency ratio of one semitone in 12-tone equal temperament
Rule-of-18 constant 17.817 Historical approximation: nut-to-fret-1 distance ≈ \(L/17.817\). It equals \(1/(1-2^{-1/12})\).
Semitones per octave 12 Each fret raises the pitch by one semitone
Octave ratio 2 : 1 The string length is halved at the 12th fret, doubling the frequency
Unit conversion 1 in = 25.4 mm Exact by definition

Because pitch is inversely proportional to vibrating length, the length left after fret \(n\) is \(L / 2^{n/12}\). The distance from the nut is therefore \(d_n = L - L/2^{n/12}\). The older rule of 18 used a rounded constant (18 exactly gives slightly short spacing), which is why the more precise 17.817 is used for the first fret.

FAQ

Does this account for intonation compensation? No — it gives the theoretical equal-temperament positions. Real builds add a small bridge compensation for string action and gauge.

What unit does it use? Whatever unit you enter the scale length in; the output matches it.

Why does the 12th fret land at the middle? Because halving a string's length raises its pitch exactly one octave (2:1 frequency ratio).

Last updated:

Most popular in Physics and Engineering

View all Physics and Engineering calculators