Range & Reason

Range & Reason

All tools / Methodology

Salary structure builder: how the grades are built

Four inputs build the whole structure: how many grades, the lowest grade midpoint, the step between midpoints, and the width of each range. This page states the exact formulas the tool runs, with a worked example you can check by hand.

Try the salary structure builder

The formulas

The tool builds grades from the lowest grade up. Grade 1 is index 0, grade 2 is index 1, and so on. Every formula below is quoted from app/tools/salary-structure/page.tsx at main c4e729c5.

StepFormulaWhat it means
Progression factorprog = 1 + progression / 100A 12% progression gives a factor of 1.12.
Half spreadhalfSpread = spread / 200A 50% spread gives a half spread of 0.25, so the range runs 25% either side of the midpoint.
Midpoint, grade imidpoint = anchor x prog ^ iEach midpoint is the previous midpoint times the progression factor. The anchor is the grade 1 midpoint.
Minimummin = midpoint x (1 - halfSpread)The bottom of the range for that grade.
Maximummax = midpoint x (1 + halfSpread)The top of the range for that grade.
Overlap flagnext min < this midpointFlagged when the next grade starts below this grade midpoint. A top of grade employee then earns more than the middle of the next grade up.
Overall spanfirst min to last maxThe lowest minimum and the highest maximum in the structure.

Input limits in the code: grades are rounded and clamped to 3 to 20, the anchor is floored at 0, progression is clamped to 0 to 100, and spread is clamped to 0 to 100.

Worked example: the tool defaults

The tool opens with 8 grades, an anchor of $40,000, progression of 27%, and spread of 30%. The first three grades work out as follows.

GradeMidpointMinimumMaximumOverlap flag
Grade 1$40,000$40,000 x 0.85 = $34,000$40,000 x 1.15 = $46,000No, see below
Grade 2$40,000 x 1.27 = $50,800$50,800 x 0.85 = $43,180$50,800 x 1.15 = $58,420No, see below
Grade 3$50,800 x 1.27 = $64,516$64,516 x 0.85 = $54,838.60$64,516 x 1.15 = $74,193.40No, at these defaults

The overlap flag does not fire for grade 1, because the grade 2 minimum, $43,180, is above the grade 1 midpoint, $40,000. At these defaults it stays off for every pair, because each next minimum is 1.0795 times the current midpoint (1.27 progression times 0.85). The flag fires when that product drops below 1. At a 50% spread that takes a progression of 1 / 0.75 = 1.333, about 33.4%. At this 30% spread it takes 1 / 0.85 = 1.176, about 17.6%, and 27% clears it. The page rounds each shown dollar to the nearest dollar, so grade 3 displays as a $54,839 minimum and a $74,193 maximum around the $64,516 midpoint. The flag uses the unrounded values, and it still does not fire. The defaults are a starting draft, and the tool says so on the page.

Inputs and where they come from

InputSourceNotes
Grades, anchor, progression, spreadTyped by youSaved in this browser only.
Pasted gradesPasted by youThe anchor becomes the lowest pasted midpoint. Progression and spread become the median of the pasted steps and spreads, rounded to whole percents. A pasted grade with no midpoint gets one derived as (min + max) / 2.
Benchmark pastePasted by youThe anchor is set to the pasted P50. The tool holds no market data of its own.
Link handoffAnother tool on this siteA link can carry ?midpoint=, ?market=, and ?source= to set the anchor and name the benchmark.

Limits

How this page was checked: every formula above was read from app/tools/salary-structure/page.tsx at main c4e729c5, and every number in the worked example was calculated by hand and cross checked against the code formulas. The overlap note at the defaults follows directly from the flag rule: 1.27 x 0.85 = 1.0795, which is above 1.

Try the salary structure builder · Back to all tools