Last updated: April 2026
The short version
- Calculator inputs stay in your browser.We don't send your distance, mileage, petrol price, or any other inputs to a server.
- One-shot IP-to-country lookup on first visit to preset your currency — happens directly in your browser, never stored on our side, skipped on every subsequent visit.
- No accounts, no signups, no email harvesting.
- No selling data, ever.We aren't a lead-gen site.
- Privacy-respecting analytics for aggregate page views — no individual tracking, no third-party advertising IDs.
What we collect
Calculator inputs. Everything you type into a calculator (distance, mileage, petrol price, currency, etc.) is processed entirely in your browser. Nothing is sent to Petrol Expense Calculator servers.
Currency preference.The calculator saves your chosen currency in your browser's localStorage so next time you visit it pre-fills the right region. This stays on your device — we never see it.
Server logs.Like every web server, our hosting provider records IP address, user agent, and request URL for each page view. These logs are used to debug errors and prevent abuse. They're kept for 30 days and never linked to identity.
Analytics.We may use a privacy-respecting analytics tool to count aggregate page views (e.g., "1,200 visits to the bag calculator last week"). We don't use Google Analytics, Facebook Pixel, or any cross-site advertising tracker. No cookies are set for advertising purposes.
Theme preference.When you toggle dark mode, we save the choice in your browser's localStorage so your preference sticks across visits. This stays on your device.
One-shot IP geolocation for currency presets
On the very first visit (and only the first visit), the calculator sends a single request from your browser to a public IP-geolocation service to detect your country code (e.g. "PK", "US", "GB") so it can preload the correct currency, distance unit, and typical petrol price. The country code is then cached in your browser's localStorage so future visits skip the lookup entirely. We try api.country.is first, then fall back to ipapi.co and ipwho.isif the first one is unreachable. These are independent services with their own privacy policies; the request only contains your IP address (which their servers see anyway) and returns a two-letter country code. We don't log, store, or send these requests through our own servers — they go directly from your browser. If you change the currency selector manually, your pick is saved in localStorage as pec.currency.user and IP detection is skipped on subsequent visits.
What we don't collect
- Your name, email address, or phone number (no signup exists)
- Calculator inputs or results (everything stays in your browser)
- Precise geolocation, GPS coordinates, or device location (the IP-based country code described above is the only location signal, and it stays in your browser)
- Cross-site tracking IDs or advertising fingerprints
- Device sensors (camera, microphone, accelerometer)
Cookies
We use no cookies for tracking, advertising, or personalization. Browser localStorage is used only for the dark-mode preference. If we ever add a feature that needs a session cookie (e.g., saving your project list across visits), this policy will be updated and the cookie will be opt-in.
Third-party services
The site is statically hosted (no application server). The only third-party requests we make at runtime are the IP-geolocation lookups described above — a single browser-to-third-party call on your first visit, then never again. We don't use Google Analytics, Facebook Pixel, advertising trackers, or any service that profiles you across sites. The contact form opens your local mail client via a mailto: link — your message goes through your own email account, not through us.
Children's privacy
The site is not directed at children under 13. We don't knowingly collect any personal information from children. If you believe a child has provided information, contact us and we'll delete it.
Your rights
Because we don't collect personal data, there's nothing to access, port, correct, or delete. If you live in the EU, UK, California, or another jurisdiction with privacy laws (GDPR, CCPA, etc.) and you have a data-rights request, contact us — we'll respond within the legally required timeframe.
Changes
We'll update this page when our practices change. The "Last updated" date at the top reflects the most recent revision.
Contact
Questions about privacy? Reach out.