Screen Ruler Tool - Accurate Screen Measurement | Pixels/cm/in | Horizontal/Vertical Switch

Supports multiple units: pixels (px), centimeters (cm), millimeters (mm), inches (in)

Precise Measurement · One Ruler in Hand

Screen Ruler
Pixel-level · Switch Physical Units Freely

Supports multiple units (px, cm, mm, in), free horizontal/vertical switching, drag-to-move, length adjustment via edge handle, always-on-top. Must-have tool for UI design, front-end development, and screenshot annotation.

Drag to Move Adjust Length via Edge
px cm mm in
U Switch Unit R Horizontal/Vertical Switch Esc Exit

Core Features · Precision Measurement

One Ruler, Multiple Uses, Designed for Screen Measurement

📏 Multiple Units Support

One-click switch between px, cm, mm, in. Suitable for UI design, graphic design, physical dimensions, etc. Accurate conversion based on 96 DPI.

PixelCentimeterMillimeterInch

🔄 Horizontal/Vertical Switch

Freely switch between horizontal and vertical rulers to adapt to different measurement directions, whether width or height.

Horizontal MeasurementVertical Measurement

🖱️ 拖拽移动 & 长度调整

Left-click and drag to move the ruler freely; drag the handle at the end to adjust the ruler length flexibly for various measurement ranges.

Free DraggingEdge Scaling

📌 右键菜单 & 置顶显示

Right-click menu to quickly switch units, direction, and pin status. Default always on top for convenient measurement.

Right-click ShortcutsWindow Always on Top

⌨️ Keyboard Shortcuts

U 切换单位、R 切换方向、Esc 退出程序,无需鼠标也能高效控制。

U Key Switch UnitR Key Switch Direction

🎨 精致视觉 & 抗锯齿

Custom drawing with GDI+, gradient background, shadow effects, rounded borders, clear tick marks, comfortable visual experience.

Anti-aliased RenderingGradient Design

Technical Implementation · Solid and Reliable

GDI+ Custom Drawing, High-precision Unit Conversion, Smooth Interaction

Drawing Mechanism

Fully custom drawing with GDI+, supports anti-aliasing and clear text/tick rendering, maintaining fine texture whether scaling or moving.

Unit Conversion
Pixel ⇄ physical unit conversion based on 96 DPI standard, ensuring that the actual display of cm/in is highly consistent with real size.

96 DPI StandardHigh-precision Conversion

Visual Effects

Gradient background enhances layering, shadow effects make the ruler float above the screen, rounded borders are more modern, tick marks are clear and readable.

Performance Features
Lightweight desktop application, extremely low memory usage, real-time response to dragging and scaling, no lag.

Low Resource ConsumptionInstant Redraw

快捷键 & 交互方式

Shortcut / ActionDescription
UCycle units (px → cm → mm → in → px)
RSwitch horizontal/vertical orientation
EscExit Screen Ruler program
Left-click drag on ruler bodyMove ruler position
Drag the edge handleAdjust ruler length (real-time tick update)
Right-clickPop up shortcut menu (unit/orientation/pin/exit)
Always on top toggleRuler is always on top by default, can cancel via right-click

Use Cases · Precision Everywhere

UI Design, Front-end Development, Screenshot Annotation, Graphic Layout
  • UI/UX Design – Precisely measure webpage elements, icons, spacing dimensions
  • Front-end Development – Verify page layout width/height, adapt to different resolutions
  • Screenshot Annotation – Combine with screenshot tools to annotate dimensions, improve communication efficiency
  • Graphic/Print Proofreading – cm/inch mode, directly estimate print size
  • Teaching Demonstration – Show real-time dimensions of screen elements
  • Mobile Adaptation – Quickly measure interface elements on simulators or real devices
  • Industrial/Graphic Sketches – Aid screen-based dimensional reference
Tip: With the "Always on Top" feature, you can measure over any software interface.
Free · Lightweight · Portable Green Software

Single executable, no installation, no background ads. Essential tool for design and development.

Download Screen Ruler (Windows Version)
Supports Windows 10/11 | Size 1.5MB

Download URL: https://ohyewang.com/屏幕尺子.zip