DESIGN · FREE TOOL

CSS, Android & paper size converter

Convert CSS lengths, Android dp/pixels and standard paper dimensions using explicit context and exact factors.

On-device processing · No account · No ads

Files and entered values are processed in your browser, without uploading them to Toolfred. Our tools do not automatically save your work or send it to embedded analytics.

Pages, libraries and shared reference files still download from our host. Downloads you save, browser recovery and hosting logs have separate retention. Local processing is not a guarantee of anonymity or secure deletion.

See where data goes →
Tool inputs

Decimals only, up to 12 places; no expressions or unit suffixes. Value magnitude up to 1,000,000; Android dimensions nonnegative. Relevant font sizes 1–10,000 CSS px; viewport dimensions 1–1,000,000 CSS px; logical Android DPI 40–1,280; print DPI 1–2,400. Entered context only: no device detection, website fetch or file conversion.

How this tool works

CSS absolute factors use 1in=96px=72pt=6pc=2.54cm. Q is a quarter millimetre. rem uses your entered root font size. em uses your entered reference font size; on font-size itself the reference is the parent, while many other properties use the element font size. Viewport units use one percent of your entered dimensions; vmin/vmax choose the smaller/larger dimension. This does not implement percentages, font metrics, dynamic/small/large viewport units or calc(). CSS pixels are reference pixels, not necessarily physical display pixels or inches. Android dp conversion uses entered logical density: px=dp×dpi/160. Use actual platform APIs in apps; logical DPI may differ from physical PPI. sp conversion is omitted because Android 14+ font scaling can be nonlinear. Paper presets use W3C/PWG nominal trimmed dimensions, with ISO B and JIS B explicitly separate. Pixel dimensions derive from DPI with exact rational factors, then nearest whole values (half away from zero). Dimensions do not include bleed, margins, trimming tolerances or printer behavior. This reports sizes; it does not resize an image or create a PDF.

Format references: CSS length definitions · Android density model · Android nonlinear font scaling · W3C named paper sizes. Reviewed October 23, 2026.

Working inputs are held in this page and its temporary local worker. Downloads and clipboard copies persist separately; hosting request logs have their own retention. This tool does not certify data safety or compatibility with every application.