Fret Position Calculator
Calculate precise fret positions for guitar or bass construction and repair.
About this calculator
Every fret on a guitar sits at a position governed by the twelfth-root-of-two rule, since each fret needs to raise the pitch by exactly one equal-tempered semitone, and this calculator applies that formula directly: distance from the nut equals scale length times one minus the twelfth root of two raised to the fret number. This is the mathematically exact modern replacement for the old carpenter's rule-of-18 approximation, and it's why fret spacing shrinks progressively as you move up the neck — each fret has to cover a smaller physical distance to produce the same proportional pitch change as the last. Selecting true temperament applies small millimeter-scale corrections on top of the equal-tempered position, nudging certain frets slightly sharp or flat of their mathematically pure equal-tempered spot to compensate for how a fretted instrument's intonation drifts in practice, particularly for chords played in certain keys — a refinement luthiers who build true-tempered necks use, rather than a change to the underlying physics.
String compensation adds a small additional offset to account for the fact that pressing a string down to a fret stretches it slightly sharp, so saddle position (and by extension, effective fret behavior for that string) is nudged to compensate — a value your luthier or instrument spec typically informs is small but real, on the order of a millimeter or two. Fret spacing is calculated as the difference between consecutive fret positions using whichever temperament mode is selected, which matters because mixing an equal-tempered position with a true-tempered one for the previous fret would produce a spacing figure that doesn't match either convention.
Inputs
Results
Distance from Nut
324 mm
≈ 4 credit cards
How to Use This Calculator
- Enter Scale Length, Fret Number, and Temperament.
- Set String Compensation.
- Review the Distance from Nut (mm) result.
- Use Distance from Bridge (mm) and Fret Spacing (mm) to inform your decision.
- Use the chart to visualize the results and explore different scenarios by adjusting inputs.
How the result changes with Scale Length
| Scale Length | Distance from Nut |
|---|---|
| 324 | 162 mm |
| 486 | 243 mm |
| 972 | 486 mm |
| 1,000 | 500 mm |
What each input means
- Scale Length
- Scale length in mm (e.g., 648mm = 25.5in Fender, 629mm = 24.75in Gibson).
- Fret Number
- Which fret to calculate the position for (1-24).
- Temperament
- 1=Equal temperament (standard), 2=True temperament (micro-adjusted).
- String Compensation
- Additional saddle compensation in mm for string stiffness.
How this is calculated
Worked example, using the default values
- Identify Input Parameters4 parametersScale Length = 648, Fret Number = 12, Temperament = 1, String Compensation = 0 = 4 input(s) provided
- Calculate Distance from Nut324 = 324
- Calculate Distance from BridgeDistance from Bridge324 = 324
- Calculate Fret SpacingFret Spacing19.266 = 19.266
Engine last updated . Checked against 2 independently-derived tests — how we verify calculators. Built by Paul Gunder, a software engineer, not a licensed financial, medical, or legal professional.
Frequently Asked Questions
Why do frets get closer together as you move toward the bridge?
Each fret raises pitch by the same proportional amount — one equal-tempered semitone — and because pitch and string length relate exponentially rather than linearly, an equal pitch change near the bridge requires a smaller physical distance than the same pitch change near the nut. This is a direct consequence of the twelfth-root-of-two formula, not an approximation or design choice.
What's the practical difference between equal temperament and true temperament?
Equal temperament places every fret at the mathematically exact position for perfectly even semitone spacing, which is the universal standard for conventional fretted instruments. True temperament applies small millimeter-level corrections to specific frets to improve how chords and certain intervals sound in tune in practice, a refinement associated with specialty true-tempered fretboards rather than standard guitar construction.
Why does scale length change the fret positions so much?
Scale length is the multiplier in front of the entire fret-position formula, so every fret's distance from the nut scales up or down proportionally with it. A Gibson-style 24.75-inch scale and a Fender-style 25.5-inch scale place every corresponding fret at a different absolute distance, even though the proportional spacing pattern relative to the nut and bridge stays the same.
What is string compensation actually correcting for?
Pressing a string down onto a fret stretches it slightly, which sharpens the pitch beyond what the fret's geometric position alone would produce — a small but audible effect, especially on wound or heavier-gauge strings. Adding a bit of extra length at the saddle end compensates for that stretch so the fretted note lands back in tune rather than consistently sharp.
Do I need to recalculate fret positions differently for a bass guitar?
The same twelfth-root-of-two formula applies regardless of instrument, since it's derived purely from equal-tempered pitch relationships rather than anything specific to guitar. The only inputs that change for a bass are the scale length, which is typically longer than a standard guitar's, and potentially a larger string compensation value to account for its thicker strings.
Related Calculators
The questions that sit next to this one — chosen by subject, including calculators filed under a different category.
Guitar String Tension Calculator
Calculate the tension on a guitar string based on gauge, scale length, tuning frequency, and material.
Instrument MaintenanceGuitar Setup Calculator
Get recommended action height, neck relief, and pickup height based on your playing style and string gauge.
Instrument MaintenancePiano Tuning Calculator
Calculate target frequencies and cents offsets for piano tuning with octave stretch compensation.
More in Creative, Media & Design.