Cookie Policy: What LayoutMath Stores in Your Browser

Last updated November 16, 2026

LayoutMath uses browser local storage for two display preferences you choose on the site, security cookies from Cloudflare when bot protection is active, and third-party advertising cookies from Google AdSense to serve and measure advertisements. Calculator inputs and results run entirely in your browser and are never stored in cookies or sent to our server.

What cookies and local storage are

A cookie is a small text file a website or third-party service asks your browser to keep, which your browser sends back on later requests. Local storage is similar but stays in your browser on your device and is not sent to the server with each request. Both can remember a setting or, in advertising, recognize a browser across visits.

What LayoutMath stores in local storage

When you switch units or theme using the buttons in the header, LayoutMath saves those two choices in your browser's local storage so the next page opens with your preferred units and theme. They stay on your device and cannot identify you.

What LayoutMath stores in your browser
NameWhereWhat it holdsWhyHow long
bh-prefsLocal storageYour unit system and currency code (USD, GBP, or EUR)So the next page opens in the units you choseUntil you clear site data
bh-themeLocal storage“light” or “dark”So the next page opens in the theme you choseUntil you clear site data

Cookies from Cloudflare

Cloudflare delivers the site and protects it from automated abuse. Its documentation lists strictly necessary security cookies it can set when bot protection or security challenges are triggered.

Cloudflare cookies that can appear
NameWhen it appearsPurposeLifetime
__cf_bmOnly if bot protection is switched on for the siteHelps tell people from automated traffic30 minutes of inactivity
cf_clearanceOnly after a visitor is shown and passes a security challengeRemembers that the challenge was passedSet by Cloudflare

These cookies are used for security and are not used for advertising or to build a profile of you. See Cloudflare's cookie documentation.

Analytics

The site uses Ahrefs Analytics to count page views and see which pages and sources bring visitors. Ahrefs states that its analytics does not use cookies or persistent identifiers and does not follow visitors across sites, days or devices.

Advertising and Google AdSense Cookies

LayoutMath participates in Google AdSense (`ca-pub-3287382925183208`) to support free access to our calculators and guides. Third-party vendors, including Google, use cookies (such as the DoubleClick DART cookie and `__gads` / `__gpi` cookies) to serve ads based on a user's prior visits to this website or other websites on the internet, to limit how often an ad is shown, and to measure ad effectiveness.

Consent in the EEA, UK and Switzerland

Visitors located in the European Economic Area (EEA), the United Kingdom and Switzerland are shown a consent management prompt before personalized advertising cookies are stored or read. Calculator inputs and outputs are never shared with advertisers.

How to clear or block cookies and site data

Every browser lets you inspect, delete and block cookies and local storage data. Clearing site data for LayoutMath removes bh-prefs, bh-theme and any stored cookies. Instructions for common browsers:

Questions

Questions about this cookie policy go to hello@layoutmath.com. See also our privacy policy and terms of use.