Feet to Pixels (CSS) (ft to px)

1 foot equals 1,152 pixels (CSS) exactly.

1 foot = 1,152 pixels (CSS)

How to convert feet to pixels (CSS)

To convert feet to pixels (CSS), multiply the number of feet by 1,152. This factor is exact. To go the other way, multiply pixels (CSS) by 0.0008680555556 (rounded).

pixels (CSS) = feet × 1,152

Example: 10 feet = 11,520 pixels (CSS).

About these units

Foot (ft)

US & ImperialCurrent unit

12 inches. Defined as exactly 0.3048 meters. Still the standard unit for height, altitude in aviation and room dimensions in the US and UK.

Human anatomy supplied the idea: an adult foot is roughly 15 percent of body height. Ancient cultures turned that into standards, but not the same one. The Greek pous was about 302 mm, the standard Roman pes about 295.7 mm, and a Harappan foot of about 335 mm has been reported from the Indus Valley. Historically, a foot fell somewhere between about 250 and 335 mm. Charlemagne tried to standardize units around 790 with little lasting success, and in 1593 English law fixed the statute mile at 5,280 feet.

The modern foot dates from the 1959 International Yard and Pound Agreement, which defined the yard as exactly 0.9144 meter and so the foot as exactly 0.3048 meter; the UK adopted it on 1 January 1964. The US survey foot, defined in 1893 as 1200/3937 meter, was deprecated on 31 December 2022. Feet remain in everyday use for height and rooms in the US, and ISO shipping containers are defined in them. Aviation altitudes use them too: flight level 330 means 33,000 feet.

1 foot = 0.3048 meters (exactly).

Sources: Wikipedia: Foot (unit); Wikipedia: Mile; NIST Guide to the SI, Appendix B.8: conversion factors

Pixel (CSS) (px)

Typography & screenCurrent unit

The CSS reference pixel, defined as 1/96 of an inch. Physical screens vary, but browsers use this value to convert pixels to print units.

Pixel is a contraction of picture element, itself built from pix, a 1930s shortening of pictures. The idea is older than the word: Paul Nipkow's 1888 German patent spoke of a Bildpunkt, or picture point, and the phrase picture element appears in US patents filed as early as 1911. Frederic C. Billingsley of the Jet Propulsion Laboratory published pixel in 1965, writing about scanned images from space probes to the Moon and Mars, and said he had learned it from Keith E. McFarland, who reported it was already in use around 1963.

A pixel in a photograph is a sample, not a fixed length, and screens vary widely in size. CSS therefore defines px as an abstract reference pixel of exactly 1/96 inch, based on the visual angle of one pixel on a 96 dpi device held at arm's length. The CSS specification gives that angle as about 0.0213 degrees for a nominal arm's length of 28 inches, which works out to about 0.26 mm. On sharper screens a single CSS pixel spans several device pixels. Earlier CSS versions did not fix the ratio, but too much existing content assumed 96 dpi.

1 pixel (CSS) = 0.0002645833333 meters (approximately).

Sources: W3C: CSS Values and Units Module Level 3, absolute lengths; Wikipedia: Pixel

Related conversions

See all length units.