Online Ruler

PPI & Dimensions

Screen & Phone Size Detector & PPI Calculator

Check your phone or monitor CSS resolution, devicePixelRatio, aspect ratio, estimated physical width and height in cm/inches, plus an exact hardware PPI calculator.

Your Current Device Screen

Estimated Physical Size

—

Detecting...

CSS Screen Size

—

Viewport: 0 × 0 px

Device Pixel Ratio

1×

Est. physical px: 0 × 0

Aspect Ratio & Effective PPI

—

Effective CSS PPI: 96 PPI

Hardware PPI & Screen Dimension Calculator

Enter any phone, laptop, or monitor's native pixel resolution and diagonal size to compute exact hardware PPI, dot pitch, and physical screen area.

Hardware PPI

108.8 PPI

Dot Pitch

0.2335 mm

Physical Size

59.8 × 33.6 cm

23.53 × 13.24 in

Megapixels

3.69 MP

Hardware PPI vs. Effective CSS PPI Explained

Formula: Hardware PPI = √(Width² + Height²) ÷ Diagonal (inches).

Modern smartphones and HiDPI laptops group multiple hardware pixels into one CSS pixel (for example,devicePixelRatio = 3). To learn how browsers map CSS pixels to real centimeters, read CSS Pixels vs Device Pixels and PPI vs DPI.

Frequently Asked Questions

How long is my phone screen in cm or inches?

Browsers do not expose physical screen length directly for privacy reasons. This detector reads your CSS screen resolution and devicePixelRatio, applies our device estimate, and gives exact physical width, height, and diagonal in cm and inches once you calibrate with a bank card.

Why is Hardware PPI different from Effective CSS PPI?

A smartphone with 460 hardware PPI and a 3× Retina devicePixelRatio renders CSS web layouts at roughly 460 ÷ 3 ≈ 153 effective CSS PPI. On-screen web rulers convert CSS pixels using effective CSS PPI, not raw hardware PPI.

What is Dot Pitch in the PPI calculator?

Dot pitch is the center-to-center distance between two neighboring physical pixels in millimeters (25.4 á PPI). Smaller dot pitch means sharper text and finer detail.

Does this measure the phone body or just the display area?

It measures the active illuminated display area (screen width, height, and diagonal), excluding outer bezels or phone cases.

More Screen Measurement Tools

All tools