Range & Reason
All tools / Methodology
Compa-ratio dashboard: how the ratios are worked out
Three numbers per person tell the story: where their pay sits against the middle of the range, how far through the range they are, and whether they are below the floor or above the ceiling. This page states the exact formulas the tool runs, with a worked example you can check by hand.
The formulas
Every formula below is quoted from app/tools/compa-ratio/page.tsx at main c4e729c5.
| Figure | Formula | What it means |
|---|---|---|
| Midpoint | midpoint = (min + max) / 2 | The middle of the range. It is always the average of the min and max you entered, never a market number. |
| Compa-ratio | compa-ratio = salary / midpoint | Shown to 2 decimals, plus the percent form. 1.00 means paid exactly at the midpoint. |
| Range penetration | penetration = (salary - min) / (max - min) | 0% is the minimum, 100% is the maximum. Below 0% is below the range, above 100% is above it. |
| Flag | salary < min: Below minimum; salary > max: Above maximum; else In range | A row with a missing salary or range, or a max not above the min, is Incomplete and left out of the summary until fixed. |
| Cost to minimum | sum of (min - salary) where salary < min | The total cash needed to bring everyone up to their range minimum. People already at or above the minimum add $0. |
| Distribution bands | count / complete rows x 100, 0 decimals | Bands: Below 0.80; 0.80 to 0.90; 0.90 to 1.00; 1.00 to 1.10 (1.10 included); Above 1.10. |
| Benchmark range | min = round(P50 x 0.8); max = round(P50 x 1.2) | Applying a pasted benchmark sets the range 20% either side of your P50, so (min + max) / 2 is exactly the P50. |
Worked example: three people from the sample data
The tool ships sample rows. Here is the math for three of them, each step shown.
| Person | Midpoint | Compa-ratio | Penetration | Flag |
|---|---|---|---|---|
| Maya Chen, HR Generalist, G6, $68,200, range $62,000 to $84,000 | ($62,000 + $84,000) / 2 = $73,000 | $68,200 / $73,000 = 0.93 | ($68,200 - $62,000) / ($84,000 - $62,000) = $6,200 / $22,000 = 28.2% | In range |
| Sam Ortiz, Operations Supervisor, G7, $69,800, range $71,000 to $96,000 | ($71,000 + $96,000) / 2 = $83,500 | $69,800 / $83,500 = 0.84 | ($69,800 - $71,000) / ($96,000 - $71,000) = -$1,200 / $25,000 = -4.8% | Below minimum |
| Alex Rivera, Customer Support Lead, G6, $88,000, range $62,000 to $84,000 | ($62,000 + $84,000) / 2 = $73,000 | $88,000 / $73,000 = 1.21 | ($88,000 - $62,000) / ($84,000 - $62,000) = $26,000 / $22,000 = 118.2% | Above maximum |
Cost to minimum for these three: only Sam Ortiz is below a minimum, so it is $71,000 - $69,800 = $1,200. And the benchmark example: a pasted P50 of $70,000 builds a range of $56,000 to $84,000, because $70,000 x 0.8 = $56,000 and $70,000 x 1.2 = $84,000, and the midpoint ($56,000 + $84,000) / 2 is exactly $70,000.
Inputs and where they come from
| Input | Source | Notes |
|---|---|---|
| Name, title, grade, salary, min, max | Typed by you | Saved in this browser only. Names never leave it in a share link: shared rows are labelled by title plus grade. |
| Census paste | Pasted by you | Hourly pay converts at 2,080 hours a year times FTE. Part-time pay is the full-time annual rate times FTE. A pay under $1,000 with no pay type stated is assumed hourly, with a warning note. |
| Benchmark paste | Pasted by you | Only the first benchmark row is used. Its P50 becomes the midpoint for every row in the named grade. No source means the source is shown as source not stated, and the number is never presented as verified. |
Limits
- A compa-ratio says where pay sits inside a range you entered. It says nothing about whether the range itself is competitive. That needs a benchmark, and the benchmark number is always the one you pasted, never this site market data.
- The bands are display buckets, not verdicts. There is no flag at 0.80 or 1.20 on this page; a compa-ratio of 0.79 and one of 0.81 sit in different bands but are nearly the same pay.
- Incomplete rows are left out of every summary number until fixed, so the headcount in the summary can be smaller than the rows on the page.
- Cost to minimum is a cash total, not a recommendation. Bringing someone to the minimum is a pay decision for a human, not something this page decides.
- This is a planning view, not a pay equity determination and not legal advice.
How this page was checked: every formula above was read from app/tools/compa-ratio/page.tsx at main c4e729c5, including the band percentage in the page render (count divided by complete rows, shown with 0 decimals), and every number in the worked example was calculated by hand.