Skip to content
πŸ› οΈToolsShed

Hourly to Salary Converter

Convert hourly wage to annual, monthly, and weekly salary β€” and vice versa.

About this tool

Understanding your earning potential requires converting between different pay periods. This hourly to salary converter helps employees, freelancers, and employers quickly translate hourly wages into annual, monthly, and weekly salaries β€” making it easy to compare job offers, budget personal finances, or evaluate compensation packages. Whether you're negotiating a new position or simply curious about your yearly income, this tool provides instant clarity without complex calculations.

Using the converter is straightforward: enter your hourly rate and select how many hours you work per week (typically 40 for full-time positions). The tool then calculates your gross salary across all major pay periods, assuming you work the same hours every week year-round. You can also work backwards β€” enter an annual salary to see what the equivalent hourly wage would be. This flexibility makes it useful for comparing job offers stated in different formats, planning your annual budget, or assessing whether a new opportunity is financially worthwhile.

Keep in mind that this calculator shows gross (pre-tax) income and does not account for holidays, vacation days, unpaid leave, or overtime. Real-world earnings may differ significantly depending on your employment contract and location. Use these figures as a starting point for financial planning, but consult your actual pay stubs or employment agreement for precise numbers. The tool works best for salaried or hourly positions with predictable, consistent work schedules.

Frequently Asked Questions

Code Implementation

def hourly_to_annual(hourly_rate, hours_per_week=40, weeks_per_year=52):
    """Convert hourly wage to annual salary."""
    return round(hourly_rate * hours_per_week * weeks_per_year, 2)

def annual_to_hourly(annual_salary, hours_per_week=40, weeks_per_year=52):
    """Convert annual salary to hourly rate."""
    total_hours = hours_per_week * weeks_per_year
    return round(annual_salary / total_hours, 4)

def breakdown(hourly_rate, hours_per_week=40, weeks_per_year=52):
    """Full salary breakdown."""
    annual = hourly_to_annual(hourly_rate, hours_per_week, weeks_per_year)
    return {
        "hourly": hourly_rate,
        "daily": round(hourly_rate * 8, 2),
        "weekly": round(hourly_rate * hours_per_week, 2),
        "biweekly": round(hourly_rate * hours_per_week * 2, 2),
        "monthly": round(annual / 12, 2),
        "annual": annual,
    }

# Examples
print(hourly_to_annual(25))         # 52000.0
print(annual_to_hourly(60000))      # 28.8462
print(breakdown(25))

Comments & Feedback

Comments are powered by Giscus. Sign in with GitHub to leave a comment.