how many pixels in 1 cm? | Sololearn: Learn to code for FREE!

+4

how many pixels in 1 cm?

2/2/2020 3:09:37 PM

Diba

21 Answers

New Answer

+19

Please Use Google for such questions: https://www.pixelto.net/cm-to-px-converter

+13

your device has ppi (pixel per inch) so now you can calculate how many pixel in your device per cm. in web using realworld measurement isnt a great idea, it isnt good at responsive design. so pixel "may" be better. i personally more into % and viewport based measurement, its has more consistent looks on different screen

+8

To be fair if you use Google you can get distracted by other stuff you didn't intend clicking. They have a Science to trap you on their site. We should all have just given him the answer and gone back to studying. For anybody who is a bit tired of passing on information to newer students. Just to let you know there is alot of studies that show you can retain 90% of information you learn by passing on your knowledge to others. It can be as low as 10% depending on your learning style.

+7

It depends on your screen.

+5

38 pixels 1 inch = 96 pixels 1 cm = 96/2.54 = 38

+4

It depends on the dpi / resolution.

+3

imagine 30cm text across your monitor. its probably nothing, just normal big text. now imagine 30cm text across your phone https://code.sololearn.com/W0L8h98MnuoC/?ref=app

+2

Satnam Singh "asked many times" but one post. ;) Diba What do you mean with "which is better to use"? Btw: I would also add the tags "pixel" and "cm".

+1

thanks every bodyπŸ™πŸ»πŸ€

+1

Sonic thanks

+1

My laptop clearly has less pixels/cm than my phone, so it does matter.

+1

It depends on the context. Are you programming for yourself or the public? I see you might be designing a responsive website based on the languages you tagged. Does your website need to be responsive to the display that someone might use? If you're just going to use one of your displays (monitor or phone), then find out what the pixel pitch or pixel density (pixels per cm (ppcm)) is of that display. This Wikipedia page should help increase your understanding as well: https://en.m.wikipedia.org/wiki/Pixel_density?wprov=sfla1 I would also look into designing for different aspect ratios. For example, when someone changes the orientation of their phone from portrait to landscape. Take a look at the most common screen sizes too. https://gs.statcounter.com/screen-resolution-stats It also doesn't help that phones actually use a much lower effective resolution when viewing mobile websites than their actual resolution. That's why many phones come up as 360x640.

0

sorry, I did not see the related post, some one answer β€œIn depend...” , I asked which one is better? has any effect on screen?

0

Taste thanks,It was the exact answer i mean to findπŸ™πŸ»

0

1 centimeter = 37.795275591 pixel Here is a link to pixel converter. https://www.unitconverters.net/typography/centimeter-to-pixel-x.htm

0

almost 38

-1

which is better to use?

-1

Does it differ screen to screen?

-1

From your resolution (HD , Full HD) and size you display