Wage Calculator
About
This API (which powers the popular tool at www.lrs.org/interactive/wage_calculator.php) calculates wages based on a variety of user specified parameters such as hourly wage, annual wage, etc.
URL
Send a GET request to https://api.lrs.org/wage-calculator.
Parameters
All parameters take positive integers or decimals as values.
Description | Field |
---|---|
Hours per week | hours |
Interval |
annually hourly monthly weekly |
Low wage | low |
High wage | high |
NOTE: if you send two parameters from one "end" of a wage range, e.g. "...low_hourly=10&low_monthly=1800...", the last parameter will be used to perform the calculation.
Results
Results are returned in JSON format. Click the links for examples.
$10 per hour, 40 hours per week
https://api.lrs.org/wage-calculator?hours=40&low=10&interval=hourly
$10 to $15 per hour, 40 hours per week
https://api.lrs.org/wage-calculator?hours=40&low=10&high=15&interval=hourly
Select an example from above