---
title: "Discussion on \"cm to pixels: why your passport-photo tool outputs the wrong size\" | Hashnode"
description: "Discussion on \"cm to pixels: why your passport-photo tool outputs the wrong size\". Every few months a form asks someone for a \"3.5 x 4.5 cm photo\" and the upload box wants pixels. I kept hitting this while building a photo resizer, and I kept seeing other tools get the number wrong."
url: "https://hashnode.com/posts/cm-to-pixels-why-your-passport-photo-tool-outputs-the-wrong-size/6ac3545d26c767b8e8a8f23d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [cm to pixels: why your passport-photo tool outputs the wrong size](https://simrankaur.hashnode.dev/cm-to-pixels-why-your-passport-photo-tool-outputs-the-wrong-size?utm_source=hashnode&utm_medium=feed)

Every few months a form asks someone for a "3.5 x 4.5 cm photo" and the upload box wants pixels. I kept hitting this while building a photo resizer, and I kept seeing other tools get the number wrong.

Oct 5 · 4 min read · simrankaur.hashnode.dev  
Updated Oct 10  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[Simran Kaur](https://hashnode.com/@simrankaur453)

@simrankaur453 · india

  
[View profile](https://hashnode.com/@simrankaur453)

I'm a science graduate with a Master's in Zoology from Sant Baba Bhag Singh University, currently exploring the intersection of technology, business analytics, and data-driven innovation. As the Founder &amp; CEO of Pixellize.io, I build AI-powered web tools, digital products, and productivity solutions focused on user experience, automation, and modern web technologies. Passionate about solving real-world problems through research, analytical thinking, and technology, with growing interests in healthcare, life sciences, AI, and business analytics.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
