← All how-to recipes

How to convert an hourly rate to an annual salary

✓ Verified in LibreOffice 25.8.7.3 ✓ Verified in Google Sheets (2026-08-30)

The 2,080 rule — hourly pay to yearly pay and back.

The formula

AppFormulaNotes
Excel (desktop)=A2*40*52A2=hourly rate, full-time 40h weeks. Reverse: =B2/2080 for hourly from salary.
Google Sheets=A2*40*52Identical.
LibreOffice Calc=A2*40*52Identical.

How it works

Full-time is 40 hours × 52 weeks = 2,080 hours a year, so $25/hour ≈ $52,000 — and the handy mental shortcut is that hourly × 2 ≈ salary in thousands. Adjust the constants for reality: unpaid vacation shrinks the 52, part-time shrinks the 40, and =A2*H2*W2 with hours and weeks in cells makes the assumptions visible instead of buried. This is gross pay — taxes and benefits are a different spreadsheet.

Verified, not just documented

We ran =A2*40*52 in LibreOffice 25.8.7.3 (headless, with forced recalculation) and it returned 52000 — exactly the expected result. We then ran the same formulas in Google Sheets, executed 2026-08-30: a formula-only workbook goes into Google Drive, which converts it to a Sheet and recalculates every formula with Google’s own engine, and comes back out as .xlsx carrying the values Google computed. It returned 52000 for the worked example, the same value LibreOffice produced. Both engines’ numbers on this page are executed results. The Excel formula follows Microsoft’s official documented syntax — we do not run desktop Excel.