{
  "id": "hourly-to-salary",
  "version": "98038a10521f",
  "status": "published",
  "name": "Hourly to Salary Calculator",
  "question": "Hourly to salary: what is my pay?",
  "summary": "Converts an hourly rate to a yearly salary, and a monthly, biweekly and weekly amount, from the hours a week and the paid weeks a year.",
  "category": "finance",
  "subcategory": "tax-and-pay",
  "url": "https://www.acalculator.org/finance/hourly-to-salary-calculator",
  "markdown": "https://www.acalculator.org/finance/hourly-to-salary-calculator.md",
  "kind": "formulas",
  "method": "salary = hourly × hours × weeks, with hours paid a week and weeks paid a year (52 when every week is paid).",
  "assumptions": [
    "Pay is gross: before tax and other deductions.",
    "Every paid hour earns the same rate. Overtime at a higher rate is not included.",
    "Paid time off counts as paid weeks; only unpaid weeks off lower the weeks a year.",
    "Per month is the salary ÷ 12, every two weeks is ÷ 26, and per week is ÷ 52."
  ],
  "inputs": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "type": "object",
    "properties": {
      "salary": {
        "title": "Yearly salary",
        "description": "Gross pay for a year, before tax.",
        "type": "number",
        "x-unit": "USD",
        "exclusiveMinimum": 0,
        "maximum": 1000000000
      },
      "hourly": {
        "title": "Hourly pay",
        "description": "Gross pay for one hour of work, before tax.",
        "type": "number",
        "x-unit": "USD",
        "exclusiveMinimum": 0,
        "maximum": 1000000
      },
      "hours": {
        "title": "Hours a week",
        "description": "The hours you are paid for in a week. A full-time week is often 40.",
        "type": "number",
        "exclusiveMinimum": 0,
        "maximum": 168
      },
      "weeks": {
        "title": "Paid weeks a year",
        "description": "The weeks you are paid for in a year: 52, less any unpaid weeks off.",
        "type": "number",
        "exclusiveMinimum": 0,
        "maximum": 53
      }
    }
  },
  "solve": {
    "fillAny": 3,
    "variables": [
      "salary",
      "hourly",
      "hours",
      "weeks"
    ],
    "inputsOnly": []
  },
  "outputs": {
    "salary": {
      "label": "Yearly salary",
      "description": "Gross pay for a year, before tax.",
      "format": "money"
    },
    "hourly": {
      "label": "Hourly pay",
      "description": "Gross pay for one hour of work, before tax.",
      "format": "money"
    },
    "hours": {
      "label": "Hours a week",
      "description": "The hours you are paid for in a week. A full-time week is often 40.",
      "format": "number"
    },
    "weeks": {
      "label": "Paid weeks a year",
      "description": "The weeks you are paid for in a year: 52, less any unpaid weeks off.",
      "format": "number"
    },
    "monthly": {
      "label": "Per month",
      "description": "The yearly salary divided by 12.",
      "format": "money"
    },
    "biweekly": {
      "label": "Every two weeks",
      "description": "The yearly salary divided by 26 pay periods.",
      "format": "money"
    },
    "weekly": {
      "label": "Per week",
      "description": "The yearly salary divided by 52 weeks.",
      "format": "money"
    }
  },
  "defaultAnswer": {
    "inputs": {
      "hourly": 25,
      "hours": 40,
      "weeks": 52
    },
    "outputs": {
      "salary": 52000,
      "monthly": 4333.333333333333,
      "biweekly": 2000,
      "weekly": 1000
    },
    "text": "$25.00 an hour for 40 hours a week over 52 weeks is $52,000.00 a year."
  },
  "examples": [
    {
      "given": {
        "hourly": 20,
        "hours": 38,
        "weeks": 51
      },
      "expect": {
        "salary": 38760,
        "monthly": 3230,
        "biweekly": 1490.7692307692307,
        "weekly": 745.3846153846154
      },
      "source": "hand calculation in content.mdx: 20 × 38 × 51 = 38,760; 38,760 ÷ 12 = 3,230"
    },
    {
      "given": {
        "hourly": 9.375,
        "hours": 40,
        "weeks": 52
      },
      "expect": {
        "salary": 19500,
        "weekly": 375
      },
      "source": "29 CFR 778.113(a): a $375 weekly salary for 40 hours is a $9.375 regular rate; $375 × 52 = $19,500"
    },
    {
      "given": {
        "hourly": 20,
        "hours": 40,
        "weeks": 52
      },
      "expect": {
        "salary": 41600,
        "monthly": 3466.6666666666665,
        "biweekly": 1600,
        "weekly": 800
      },
      "source": "hand calculation in content.mdx: 20 × 40 × 52 = 41,600 (2,080 hours a year)"
    },
    {
      "given": {
        "salary": 52000,
        "hourly": 25,
        "hours": 40
      },
      "expect": {
        "weeks": 52
      },
      "source": "hand calculation in content.mdx: 52,000 ÷ (25 × 40) = 52 weeks"
    }
  ],
  "sources": [
    "29 CFR 778.113, Salaried employees: weekly and yearly pay convert by 52 weeks; a $375 weekly salary for 40 hours is a $9.375 rate. https://www.law.cornell.edu/cfr/text/29/778.113",
    "U.S. Department of Labor, Wage and Hour Division, Fact Sheet #23: Overtime Pay Requirements of the FLSA. https://www.dol.gov/agencies/whd/fact-sheets/23-flsa-overtime-pay"
  ],
  "related": [
    "salary-to-hourly",
    "salary",
    "annual-income"
  ],
  "changelog": []
}
