# Fuel detour calculator > Is the cheaper station worth the detour? Weigh the saving at a cheaper fuel station against the fuel and time the detour costs. Find out if driving farther to a cheaper fuel station pays: enter both prices, how much you fill and the extra distance to see the net saving and break-even. - Page: https://how.box/fuel-detour/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/fuel-detour/?v={v}&vu={vu}&n={n}&f={f}&d={d}&du={du}&c={c}&cu={cu}&cur={cur}&m={m}&tv={tv} - `v` (number 0 to 10000): Fuel bought, in vu. Example: `40`. - `vu` (l, us_gal or imp_gal): l, us_gal or imp_gal. Example: `l`. - `n` (number 0 to 10000): Price at the nearby station per vu, in major units of cur. Example: `1.85`. - `f` (number 0 to 10000): Price at the cheaper station per vu, in major units of cur. Example: `1.79`. - `d` (number 0 to 10000): Extra distance of the detour, in du. Example: `4`. - `du` (km or mi): km or mi. Example: `km`. - `c` (number 0 to 1000): Fuel consumption in cu. Example: `6.5`. - `cu` (l_100km, km_l, mpg_us or mpg_imp): l_100km, km_l, mpg_us or mpg_imp. Example: `l_100km`. - `cur` (AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD, AWG, AZN, BAM, BBD, BDT, BGN, BHD, BIF, BMD, BND, BOB, BRL, BSD, BTN, BWP, BYN, BZD, CAD, CDF, CHF, CLF, CLP, CNY, COP, CRC, CUC, CUP, CVE, CZK, DJF, DKK, DOP, DZD, EGP, ERN, ETB, EUR, FJD, FKP, GBP, GEL, GHS, GIP, GMD, GNF, GTQ, GYD, HKD, HNL, HRK, HTG, HUF, IDR, ILS, INR, IQD, IRR, ISK, JMD, JOD, JPY, KES, KGS, KHR, KMF, KPW, KRW, KWD, KYD, KZT, LAK, LBP, LKR, LRD, LSL, LYD, MAD, MDL, MGA, MKD, MMK, MNT, MOP, MRU, MUR, MVR, MWK, MXN, MYR, MZN, NAD, NGN, NIO, NOK, NPR, NZD, OMR, PAB, PEN, PGK, PHP, PKR, PLN, PYG, QAR, RON, RSD, RUB, RWF, SAR, SBD, SCR, SDG, SEK, SGD, SHP, SLE, SLL, SOS, SRD, SSP, STN, SVC, SYP, SZL, THB, TJS, TMT, TND, TOP, TRY, TTD, TWD, TZS, UAH, UGX, USD, UYU, UYW, UZS, VES, VND, VUV, WST, XAF, XCD, XCG, XDR, XOF, XPF, XSU, YER, ZAR, ZMW, ZWG or ZWL): ISO 4217 denomination; never converts the prices. Example: `EUR`. - `m` (number 0 to 1440): Extra minutes the detour takes. Example: `0`. - `tv` (number 0 to 10000): Value of one hour of your time, in major units of cur. Example: `0`. Example answer: https://how.box/fuel-detour/?v=40&vu=l&n=1.85&f=1.79&d=4&du=km&c=6.5&cu=l_100km&cur=EUR&m=0&tv=0 A complete link carries the primary answer in the page HTML; a missing or invalid value shows the default page. ## Agent tools - `fuel_detour_calculate`: Whether a cheaper fuel station is worth the detour. - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"fuel_detour_calculate","arguments":{"fill_volume":40,"volume_unit":"l","price_near":1.85,"price_far":1.79,"detour_distance":4,"distance_unit":"km","consumption":6.5,"consumption_unit":"l_100km","currency":"EUR","detour_minutes":0,"time_value":0}}}` - GET: https://how.box/mcp/run/fuel_detour_calculate?fill_volume=40&volume_unit=l&price_near=1.85&price_far=1.79&detour_distance=4&distance_unit=km&consumption=6.5&consumption_unit=l_100km¤cy=EUR&detour_minutes=0&time_value=0 ## How it works A cheaper price per litre only helps if the fuel you save is worth more than what it costs to get there. The detour burns fuel too, and perhaps time. The detour pays when the saving on the fuel you buy is larger than the cost of the extra driving. Net saving = litres × (nearby price − cheaper price) − detour litres × cheaper price − time cost, where the detour litres are the extra distance × consumption ÷ 100. Filling 40 l at 1.85 against 1.79 saves 40 × 0.06 = 2.40. A 4 km detour at 6.5 l/100 km burns 0.26 l, worth 0.47, so you keep 1.93. The break-even price difference is where the net saving is zero, and the break-even amount is the smallest fill for which this price difference pays. The tool counts only the fuel and the time you enter. Wear on the car, tolls and the chance of queues are not included, and the fuel burnt is priced at the cheaper station, where you will refill. If your tank is nearly empty, you may pay more for being forced to fill up in a worse place, so check the real prices before you go. ## FAQ **How big must the price difference be to make a detour worthwhile?** It depends on the distance and how much you buy. The break-even price difference shown by the tool is the smallest gap per litre or gallon for which the saving matches the cost of the detour. **Does it matter how much fuel I buy?** Yes. The saving grows with the amount you buy, while the detour costs the same whether you buy ten litres or sixty. The tool shows the smallest amount for which the detour pays. **Should I count my time?** If you like. Enter the extra minutes and what an hour is worth to you under More options. With a value of time the detour often stops paying, which is why it is off by default. **What if the detour is on my way home anyway?** Then enter only the extra distance it adds, which may be close to zero. The tool counts the added distance, not the length of the trip to the station. **Are fuel cards and loyalty discounts included?** Not separately. Subtract the discount from the price you enter for that station, and the result includes it. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)