Quick answer
Carpooling Calculator: what it calculates
Carpooling Calculator calculates monthly carpool savings from one-way commute distance, commute days per month, fuel economy, fuel price, and riders sharing cost. The visible formula is Solo monthly fuel cost = round-trip miles x commute days / MPG x fuel price; shared cost per person = solo cost / riders.