Online Pixel Ruler: Measure in PX

Measure exact on-screen pixel dimensions, built for designers and developers.

โš  Calibrate for accurate measurements

This online pixel ruler measures exact PX dimensions directly on your screen with no design software required. It's useful for checking UI element sizes, verifying image dimensions, or measuring spacing in a webpage layout.

Unlike cm, inch, and mm mode, pixel measurements don't require calibration since they reflect your screen's actual pixel grid directly.

How to Use the Online Ruler

  1. Choose an edge โ€” click Left, Right, Top, or Bottom above to pin the ruler to that edge of your screen.
  2. Switch units โ€” use the "Also measure in" links to open the cm, inch, mm, or px version of this ruler.
  3. Check the status banner โ€” green means your device was auto-detected and the ruler is accurate. A yellow banner means calibration is needed.
  4. Calibrate if needed โ€” click Calibrate and pick your device, enter your screen's diagonal size, or use a standard credit card.
  5. Measure โ€” place any object against the ruler edge. Hover for a live coordinate readout. Use Fullscreen for maximum measuring area.

How to Calibrate for Accurate Measurements

Accuracy depends on your screen's PPI being correctly set. There are three reliable ways to calibrate:

  1. Pick your device โ€” select your exact phone, tablet, or laptop model for the factory-precise PPI.
  2. Screen diagonal โ€” find your screen's diagonal size (printed on the box or searchable by model name) and enter it in the Calibrate panel. Works for any screen.
  3. Credit card calibration โ€” place any standard bank or credit card flat against the blue guide. All ISO 7810 cards are exactly 85.6 mm wide. Drag the slider until the guide matches the card edge.

Your calibration is saved in your browser and restored on your next visit.

Frequently Asked Questions

What is a pixel ruler used for?

It's commonly used by web designers and developers to measure UI elements, spacing, and image dimensions directly on screen.

Do I need to calibrate for pixel measurements?

No, pixel mode reads your screen's native pixel grid directly.

Can I see pixels and physical size together?

Yes, switch between px and any physical unit using the unit links to compare both.