The formula
How to calculate annual salary
This runs the hourly-rate calculation in reverse: instead of turning a salary into an hourly figure, it takes an hourly rate — the number a freelancer quotes, or a contract sets — and projects what it adds up to across a working year.
At the defaults — $25 an hour, 40 hours a week, 52 weeks a year — that comes to $52,000 (25 × 40 × 52, the same 2,080-hour year that /work/hourly-rate uses in the other direction). Drop weeksPerYear to 48 to account for a month of unpaid downtime and the projected annual figure falls to $48,000, even though the hourly rate hasn't changed.
Here is what each field means:
- Hourly rate
- Hours worked per week (hours)
- Weeks worked per year (weeks) — use 52 for the standard nominal figure, or subtract unpaid weeks for a more realistic one
The result updates on every keystroke. The URL updates too, which makes the filled-in version easy to bookmark or send to someone else.
The order the fields are filled in makes no difference to the result — the calculator recomputes the whole formula from whatever is currently in every field, not step by step. That means it is safe to adjust one number, watch the result change, and adjust it back, without worrying about resetting anything first.
Why annual salary matters
A calculation like this usually gets used at a decision point rather than out of curiosity — comparing two real options, checking a number a lender or adviser has quoted, or working out whether a plan that sounded fine in conversation still holds up once it is written down with actual figures. The maths itself is rarely complicated; what is hard is remembering which figures to use and in what order, which is exactly what a dedicated calculator is for.
This tends to come up when comparing two concrete alternatives — two lenders, two savings products, two ways of structuring the same decision — rather than in the abstract. Run both scenarios through the same calculator with the same assumptions and the comparison becomes fair, because the only thing changing between the two results is the number you are actually trying to test.
The reason a page like this exists at all, rather than leaving the calculation to a spreadsheet or a textbook appendix, is that the formula behind annual salary is fiddly enough to get wrong by hand but not complicated enough to need specialist software. That middle ground — real enough maths to matter, simple enough to check instantly — is exactly what a dedicated calculator is for, and it is why the same figure recalculated here should match a careful manual calculation almost exactly.
A calculator like this one is often bookmarked and returned to repeatedly over months rather than used once, particularly for anything tied to an ongoing plan such as a mortgage, a savings goal or an investment being tracked. Because the figures live in the web address rather than only in memory, coming back to the same page with updated numbers is quicker than starting from a blank spreadsheet each time.
Worked example
A concrete run-through, using the values already in the fields:
- Hourly rate: 25
- Hours worked per week: 40 hours
- Weeks worked per year: 52 weeks
That gives:
- Annual salary: 52,000
These figures are only the calculator's own starting values, included so the working is visible rather than hidden inside the tool above. Replace them with your own numbers and the same arithmetic applies — nothing about the method changes, only the inputs feeding it.
Reading the result
Treat this as a ceiling rather than a guarantee, especially for freelancers and contractors: it assumes every one of the 40 hours a week is billable, for all 52 weeks. Time spent on admin, unpaid pitching, or gaps between contracts doesn't earn the hourly rate, so real annual income is usually lower than this figure.
Where this goes wrong. Leaving weeksPerYear at 52 for anyone who doesn't actually work all year round. A freelancer who takes four weeks off and loses another four to slow periods is really working 44 paid weeks, not 52 — plugging in 52 anyway overstates their annual income by roughly 18%.
A useful check on any unfamiliar result is to compare it against a rough mental estimate first — round the inputs to convenient numbers and see whether the calculator's answer lands in roughly the same territory. A wildly different figure usually means one of the fields was entered in the wrong unit, most often a percentage typed as a whole number where a decimal was expected, or the reverse.
They're inverses of each other: /work/hourly-rate divides an annual salary by hours worked to get an hourly figure, while this one multiplies an hourly rate by hours worked to get an annual figure. Use whichever direction matches the number you already have.
Multiply the hourly rate by realistic billable hours, not a full 2,080-hour year. Most freelancers bill well under 40 hours a week once admin, marketing and slow periods are accounted for, so entering actual expected billable weeks and hours gives a far more realistic figure than the full-time defaults.
The headline figure is annual salary. With 25 hourly rate, 40 hours hours worked per week and 52 weeks weeks worked per year, that comes to 52,000. Change any field and the figure moves with it.
Whenever one of the underlying figures changes — a new interest rate, a different balance, an updated term — since the result only reflects what is currently in the fields. There is no need to keep a separate record of past results; the web address for a filled-in version already carries the figures used to produce it.
Not unless a tax rate or a fee is explicitly one of the inputs above. Where it is not, the figure shown is a gross calculation, and any tax due depends on your personal circumstances and current tax rules, which are worth checking separately.
The arithmetic itself is exact — the calculator applies the formula shown above precisely, with no rounding until the final figure is displayed. The uncertainty, where it exists, is entirely in the inputs: an estimated rate or an approximate balance carries that same approximation through to the result.