KaamSaar Logo KaamSaar.com

Technical Education · 6 min read

DPI, PPI, Aspect Ratio and Target KB Explained for Indian Online Forms

A clear technical guide explaining why dots-per-inch (DPI) matters for printed documents, how pixels translate to centimeters, and how to maintain high clarity under 20 KB.

The Confusion Between Pixels, Centimeters, and DPI

Government exam notifications often state requirements in three conflicting formats: "Size must be 3.5 cm × 4.5 cm", "Resolution must be 200 DPI", and "File size must be between 20 KB and 50 KB". Many students wonder: How can a digital image file on a computer screen have a physical dimension in centimeters?

DPI stands for "Dots Per Inch", which represents print resolution. On digital screens, PPI ("Pixels Per Inch") is the actual measurement. Standard computer screens operate at 72 to 96 PPI, whereas high-density print scanners operate at 200 to 300 DPI.

The Exact Mathematical Conversion Formula

To convert centimeters (cm) to pixels (px):

Pixels = (Centimeters / 2.54) × DPI

For a standard passport photo (3.5 cm × 4.5 cm) at 100 DPI: Width = (3.5 / 2.54) × 100 = 138 pixels; Height = (4.5 / 2.54) × 100 = 177 pixels.

For a standard passport photo at 200 DPI (High Clarity): Width = (3.5 / 2.54) × 200 = 276 pixels; Height = (4.5 / 2.54) × 200 = 354 pixels.

For a standard signature (4.0 cm × 2.0 cm) at 100 DPI: Width = (4.0 / 2.54) × 100 = 157 pixels; Height = (2.0 / 2.54) × 100 = 79 pixels (roughly standard 140 × 60 px).

Why Changing Dimensions Alone Doesn't Guarantee KB Limit

File size (KB) depends on pixel count multiplied by color depth and JPEG compression efficiency. A raw 276 × 354 pixel uncompressed BMP file takes roughly 293 KB of memory! When saved as a JPEG, discrete cosine transform (DCT) compresses uniform areas into smaller byte streams.

KaamSaar calculates the exact optimal compression matrix in real-time inside your browser canvas so you achieve maximum clarity while staying securely under your requested KB limit.

Summary: Pixels = (cm / 2.54) * DPI. KaamSaar automatically handles the math to produce sharp photos under 20 KB or 50 KB.

Frequently Asked Questions

Does 200 DPI mean the file size will be larger than 50 KB?

Not necessarily. With proper JPEG chroma subsampling and EXIF metadata stripping, a 200 DPI 3.5x4.5 cm passport image easily fits inside 35 to 45 KB.