Fretboard Calculator
Precision tool for calculating fret spacing and scale length geometry.
The vibrating length of the string (e.g., 25.5″ for Fender, 24.75″ for Gibson).
Standard counts: 21, 22, or 24.
Select your preferred unit for output measurements.
Fretboard Visualization
Detailed Measurements
| Fret # | Distance From Nut | Fret-to-Fret Distance | Remaining Length |
|---|
What is a Fretboard Calculator?
A fretboard calculator is an essential tool for luthiers, guitar builders, and instrument designers used to determine the precise placement of frets along the neck of a stringed instrument. Whether you are building an electric guitar, acoustic guitar, bass, ukulele, or mandolin, accurate fret spacing is critical for the instrument to play in tune across the entire neck—a concept known as intonation.
The calculator uses a mathematical constant derived from the physics of sound to divide the scale length (the vibrating length of the string) into semitones. Without a precise fretboard calculator, builders would struggle to manually calculate the exponential decay in fret spacing, leading to instruments that sound dissonant when chords are played.
Who should use this tool?
- Professional Luthiers: For batch processing fretboards with custom scale lengths.
- Hobbyist Builders: To ensure their first build plays correctly.
- Repair Technicians: To verify if an existing fretboard was cut correctly or needs replacement.
Fretboard Calculator Formula and Math
The placement of frets is governed by the “Rule of 18” (historically) or, more accurately in modern times, the 12th root of 2 ($\sqrt[12]{2}$). The standard Equal Temperament scale requires that the frequency doubles every octave (12 semitones). To achieve this, the string length must be halved at the 12th fret.
The core formula to find the distance from the nut to any fret $n$ is:
$D_n = S – \frac{S}{2^{(n/12)}}$
Where:
| Variable | Meaning | Unit | Typical Range |
|---|---|---|---|
| $D_n$ | Distance from Nut to Fret $n$ | in / mm | 0 to Scale Length |
| $S$ | Scale Length | in / mm | 24″ – 34″ |
| $n$ | Fret Number | Integer | 1 – 24 |
| $17.817$ | Luthier’s Constant | Ratio | Constant |
Alternative Recursive Method:
Many luthiers use the constant 17.817. To find the position of the next fret, you divide the remaining scale length by 17.817. This result is the distance from the previous fret to the new fret.
Practical Examples
Example 1: Standard Stratocaster Style
A builder wants to create a neck with a classic “Fender-style” scale length.
- Input Scale Length: 25.5 inches
- Number of Frets: 21
- Calculation:
- 1st Fret position: $25.5 – (25.5 / 2^{(1/12)}) \approx 1.431$ inches from nut.
- 12th Fret position: $25.5 – (25.5 / 2) = 12.75$ inches (Exactly half).
- Result: The 12th fret is placed exactly at 12.75″. This measurement is the anchor for bridge placement.
Example 2: Les Paul Style (Metric)
A luthier is building a shorter scale guitar using metric measurements.
- Input Scale Length: 628.65 mm (Approx 24.75″)
- Number of Frets: 22
- Calculation:
- 1st Fret: $628.65 – (628.65 / 1.05946) \approx 35.28$ mm.
- Fret-to-fret distance decreases as you go up the neck.
- Result: This shorter scale provides lower string tension, making bending strings easier, characteristic of Gibson-style guitars.
How to Use This Fretboard Calculator
- Enter Scale Length: Input the desired vibrating string length. Common standards include 25.5″ (Fender), 24.75″ (Gibson), or 34″ (Bass).
- Select Frets: Choose how many frets your instrument will have (usually 21, 22, or 24).
- Choose Unit: Toggle between Inches and Millimeters based on your ruler or caliper type.
- Read the Table: Use the “Distance From Nut” column if you are marking all slots from a single zero point (recommended to avoid compounding errors). Use “Fret-to-Fret” if you are stepping off measurements.
- Check the Chart: The visual guide helps verify that the spacing naturally compresses as you move towards the bridge.
Key Factors That Affect Fretboard Results
While the math is perfect, physical reality introduces variables that affect the final intonation of your fretboard calculator results.
1. Bridge Placement & Compensation
The calculator gives the theoretical scale length. However, when you press a string, you stretch it, sharpening the pitch. To compensate, the bridge saddle must be moved slightly further back than the calculator’s scale length indicates.
2. String Gauge and Action
Thicker strings and higher action (distance from string to fret) require more compensation. A bass guitar requires more saddle adjustment than a light-gauge electric guitar.
3. Nut Width and Height
If the nut slots are not cut deep enough, the notes at the first few frets will be sharp. Some builders shorten the distance from the nut to the first fret slightly to compensate for this.
4. Fret Crown Width
The calculator gives the position of the center of the fret slot. When crowning frets, you must ensure the peak of the fret remains perfectly centered over the slot.
5. Temperature and Humidity
Wood expands and contracts. While the calculator logic is rigid, the wood you cut it into is not. Always measure and cut in a stable environment.
6. Blade Kerf (Width of Cut)
When cutting fret slots, the saw blade removes material (kerf). Ensure your measurements account for the blade edge if you are measuring from slot edges rather than centers.
Frequently Asked Questions (FAQ)
In physics, halving the length of a vibrating string doubles its frequency, raising the pitch by one octave. Since an octave contains 12 semitones, the 12th fret marks the halfway point.
Yes. The physics of the 12-tone equal temperament scale applies to all standard western stringed instruments, including Bass, Ukulele, Banjo, and Mandolin.
Always measure from the nut (zero point). Measuring fret-to-fret (cumulative) introduces “compounding errors,” where a 0.1mm error on fret 1 becomes a 2.0mm error by fret 20.
This calculator is for standard parallel frets. Multiscale instruments use two different scale lengths for the lowest and highest strings, resulting in angled frets. This tool does not support multiscale calculations.
It calculates to a high decimal precision. However, for practical woodworking, accuracy to 0.001″ or 0.02mm is usually sufficient.
Yes. Longer scale lengths (like 25.5″) have higher tension for the same pitch and string gauge compared to shorter scales (like 24.75″).
It was an older, less accurate approximation used by early luthiers. It used 18 instead of 17.817. This calculator uses the precise 12th root of 2 for modern accuracy.
Use whatever your measuring tools use. If you have a high-quality metric ruler, use millimeters. If you have fractional calipers, use inches.
Related Tools and Internal Resources
Explore more tools to assist your lutherie journey:
- Truss Rod Adjustment Calculator – Calculate the turn required for neck relief.
- String Tension Charts – Determine the pull on your neck based on gauge.
- Nut Slotting Depth Guide – How to achieve perfect action at the first fret.
- Tonewood Density Database – Compare weights of different fretboard woods.
- Pickup Wiring Configurator – Plan your electronics after building the neck.
- Bridge Compensation Guide – Advanced guide on setting intonation offsets.