How it works
This calculator evaluates the displayed equation variants locally in your browser. Enter the known values; results are shown for equations whose required inputs are available.
Check units, assumptions and professional guidance before using results for medical, financial, legal, engineering or safety-critical decisions.
Formulas used by this calculator
The Carpooling Calculator works with 49 quantities and 49 relations between them. Enter the values you know, leave the one you want to find blank, and press Calculate. Blank fields are never treated as zero. Each formula below is solved for one quantity.
- Fuel burnt (
fuel_burnt) = cost/price
- Cost per person (
cost_per_person) = cost/people
- Price (
price) = cost/fuel_burnt
- Cost (
cost) = fuel_burnt × price
- Cost per person city (
cost_per_person_city) = cost_city/people
- Fuel burnt city (
fuel_burnt_city) = cost_city/(price)
- Cost per person mixed (
cost_per_person_mixed) = cost_mixed/people
- Fuel burnt mixed (
fuel_burnt_mixed) = cost_mixed/(price)
41 further rearrangements of the same relations let you solve for other quantities.
Inputs
| Field | Name in formulas | Can be solved for |
| Car | car | Input only |
| Cost | cost | Yes |
| Price | price | Yes |
| People | people | Yes |
| Distance | distance | Yes |
| E Bike Eff | eBikeEff | Yes |
| Mpg city | mpg_city | Yes |
| Cost Ebike | costEbike | Yes |
| Cost city | cost_city | Yes |
| Mpg mixed | mpg_mixed | Yes |
| Trip type | trip_type | Input only |
| City indie | city_indie | Input only |
| City phone | city_phone | Input only |
| City trees | city_trees | Input only |
| Cost mixed | cost_mixed | Yes |
| Energy Cost | energyCost | Yes |
| Fuel burnt | fuel_burnt | Yes |
| Gas diesel | gas_diesel | Yes |
| Mpg custom | mpg_custom | Yes |
| City google | city_google | Input only |
| Mixed indie | mixed_indie | Input only |
| Mixed phone | mixed_phone | Input only |
| Mixed trees | mixed_trees | Input only |
| Mpg highway | mpg_highway | Yes |
| Netco2 city | netco2_city | Yes |
| Cost highway | cost_highway | Yes |
| Custom indie | custom_indie | Input only |
| Custom phone | custom_phone | Input only |
| Custom trees | custom_trees | Input only |
| Mixed google | mixed_google | Input only |
| Netco2 mixed | netco2_mixed | Yes |
| Custom google | custom_google | Input only |
| Highway indie | highway_indie | Input only |
| Highway phone | highway_phone | Input only |
| Highway trees | highway_trees | Input only |
| Netco2 custom | netco2_custom | Yes |
| City co2 trees | city_co2_trees | Input only |
| Highway google | highway_google | Input only |
| Netco2 highway | netco2_highway | Yes |
| Cost per person | cost_per_person | Yes |
9 more inputs are available in the calculator form.