Fuel Cost Calculator

Calculate fuel needed and split the trip cost using metric, US or UK fuel units. Runs offline on your device in the browser or vipervoid CLI/MCP. Configurable options include Units, Trip distance in selected units, Fuel economy in selected units, Price per litre or selected gallon.

Quick Reference

Calculate fuel needed and split the trip cost using metric, US or UK fuel units. Runs offline on your device in the browser or vipervoid CLI/MCP. Configurable options include Units, Trip distance in selected units, Fuel economy in selected units, Price per litre or selected gallon.

  • Input: Options only
  • Runtime: On-device Browser UI, Node CLI (vipervoid), and MCP
  • Options: Units (default: km and L/100 km); Trip distance in selected units (default: 200); Fuel economy in selected units (default: 7); Price per litre or selected gallon (default: 1.6); Split between (default: 1)
  • Example: Run directly with default or custom options -> Deterministic local output displayed for copy, download, or JSON inspection
  • CLI: vipervoid run fuel-cost-calculator --opt units="km and L/100 km"

Related Utilities tools