TrueTravelCost.com Open the full calculator

Embed the driving cost calculator on your site

Give your readers, customers or staff a working calculator for what a journey really costs: fuel or electricity, servicing, tyres and tolls. Free to use, no account needed, one snippet to paste.

1. Copy the snippet

Paste this where you want the calculator to appear. Replace YOUR-SITE-NAME with a short name for your site (letters, numbers, dots and hyphens).

<iframe src="https://www.truetravelcost.com/?embed=1&partner=YOUR-SITE-NAME"
        title="TrueTravelCost driving cost calculator"
        style="width:100%;border:0;min-height:640px" scrolling="no" loading="lazy"></iframe>
<script src="https://www.truetravelcost.com/js/embed-host.js" async></script>
<p style="font-size:13px">Calculator by <a href="https://www.truetravelcost.com/">TrueTravelCost</a></p>

The script line makes the calculator resize itself to fit its content. It is optional; without it the frame keeps the minimum height above. Please keep the attribution link under the calculator.

2. Options

ParameterWhat it does
embed=1Required. Switches on the compact embed layout (no site header, footer or about text).
partner=nameYour site name. Used only to count how often the calculator is used, so we can keep it maintained.
theme=darkOptional. Uses the dark colour scheme.

Live preview

This is exactly what your visitors would see.

Good to know