Range & Reason
All tools / Methodology
Offer letter generator: how the totals are added up
An offer has two totals that are easy to confuse: the ongoing annual total, which repeats every year, and the year-1 total, which adds the one-time sign-on bonus once. This page states the exact formulas the tool runs, with a worked example you can check by hand.
Try the offer letter generator
The formulas
Every formula below is quoted from app/tools/offer-generator/page.tsx at main c4e729c5.
| Figure | Formula | What it means |
|---|---|---|
| Target bonus | targetBonus = base x bonusPct / 100 | The bonus at target, when both a base and a bonus percent are entered. Blank gives no bonus, counted as $0. |
| Equity, annualized | grant mode: grant / years; annual mode: the annual value entered | A grant is spread evenly over the vesting years. In annual mode the value entered is already annual. No equity counts as $0. |
| Ongoing annual total | base + targetBonus + equityAnnualized + benefits + 401(k) match | Every repeating part of the offer. Benefits left blank are excluded, and the total is labelled as excluding benefits not entered. |
| Year-1 total | year1 = ongoing + sign-on bonus | The ongoing total plus the one-time sign-on bonus, counted once. The sign-on is never part of the ongoing total. |
Parsing rule in the code: negative or non-numeric money and percent inputs parse to null and are treated as blank. No base salary means no totals at all.
Worked example: the sample offer for Jordan
The tool ships a sample offer: Jordan, Senior Compensation Analyst at Meridian Health, reporting to Alex Morgan, starting January 5, 2027. Base $120,000, bonus target 15%, equity grant $60,000 over 4 years, benefits $18,000, 401(k) match $6,000, sign-on bonus $10,000.
| Step | Working |
|---|---|
| Target bonus | $120,000 x 15 / 100 = $18,000 |
| Equity, annualized | $60,000 / 4 years = $15,000 a year |
| Ongoing annual total | $120,000 base + $18,000 target bonus + $15,000 equity + $18,000 benefits + $6,000 401(k) match = $177,000 |
| Year-1 total | $177,000 ongoing + $10,000 sign-on bonus = $187,000 |
The letter states both totals in plain words: the ongoing annual total is $177,000 a year, and in the first year, including the one-time sign-on bonus, the total is $187,000.
Inputs and where they come from
| Input | Source | Notes |
|---|---|---|
| Candidate, role, company, manager, start date | Typed by you | Letter text only. None of these feed the totals, except the start date, which is flagged when it is in the past. |
| Base, bonus percent, equity, benefits, 401(k) match, sign-on | Typed by you | The money inputs. Blank means $0 in the totals, except benefits, which are excluded and labelled as such. |
| Sign-on condition | Typed by you | Letter text only, for example payable with the first paycheck. It does not change any number. |
Limits
- The letter never invents a value. A blank field renders as a bracketed placeholder in the letter, and the totals count it as $0 or exclude it, as the formulas above say.
- The target bonus is a target, not a guaranteed payment. The letter says so in plain words, and the total still counts the full target amount.
- Equity is spread evenly over the vesting years. There is no vesting cliff, no forfeiture, and no share price in the math.
- There is no tax, no take-home pay, and no cost of living adjustment anywhere in the totals.
- The totals add up the parts you entered. They never check whether the base is competitive for the role or the location. For that, use the compa-ratio dashboard and the remote pay calculator.
How this page was checked: every formula above was read from app/tools/offer-generator/page.tsx at main c4e729c5, and every number in the worked example was calculated by hand. The expected totals are also stated in a code comment on the sample form: target bonus $18,000, equity annualized $15,000, ongoing annual total $177,000, year-1 total $187,000.