+ 8

What is the size of a pixel?

I assumed that a pixel is 1/72 of an inch. But how can a 1080p picture fit on a 40" , 24" and a 12" screen? Do pixel sizes vary according to screens? Aren't the sizes constant? If not, How can I find the screen size of a phone with width 480p and height 560p?

22nd Jun 2017, 4:53 AM
Solo Wanderer 4315
Solo Wanderer 4315 - avatar
12 Answers
+ 9
Pixel is a point on a grid, so its size varies depending on the resolution To find out how many pixels are in a given resolution you multiply width by height edit: https://en.m.wikipedia.org/wiki/Pixel
22nd Jun 2017, 5:05 AM
jay
jay - avatar
+ 9
Not without the Dpi. pix/dpi=inches
22nd Jun 2017, 8:46 AM
Michael Simnitt
Michael Simnitt - avatar
+ 8
Agreed, DPI is the key value​ in this case.
22nd Jun 2017, 6:23 AM
Michael Simnitt
Michael Simnitt - avatar
+ 5
You can query your monitor to see what it says a pixels size is: GetDpiForMonitor function https://msdn.microsoft.com/en-us/library/windows/desktop/dn280510(v=vs.85).aspx
22nd Jun 2017, 11:30 PM
jay
jay - avatar
+ 4
your program shouldnt every need to worry about dpi. only really your printer should care. try qt or sdl or something?
22nd Jun 2017, 3:12 PM
jay
jay - avatar
+ 4
yeah 480x854 px (widthXHeight) so 409,920 pixels.
22nd Jun 2017, 4:33 PM
jay
jay - avatar
+ 3
A pixel does not have a fixed size. You're confusing them with typography points: https://en.wikipedia.org/wiki/Point_(typography) A pixel (as jay said) is just a point on a grid. It can be small and practically invisible, or it can be very large, leading to a blocky appearance of objects: http://pre05.deviantart.net/cae3/th/pre/i/2012/170/e/9/mario_large_pixel_painting_by_rubiksphoenix-d544g81.jpg
22nd Jun 2017, 5:39 AM
Bogdan Sass
Bogdan Sass - avatar
+ 3
@jay, @Bogdan Sass, @Michael Simnitt Thank You!
22nd Jun 2017, 8:43 AM
Solo Wanderer 4315
Solo Wanderer 4315 - avatar
+ 2
You need to know the DPI of a screen (dots per inch)
22nd Jun 2017, 2:54 PM
josh mizzi
josh mizzi - avatar
+ 2
@jay Its not for a program, its for ValentinHacker's answer... https://www.sololearn.com/discuss/470116/?ref=app
22nd Jun 2017, 3:55 PM
Solo Wanderer 4315
Solo Wanderer 4315 - avatar
+ 2
@jay But she forgot to give me the dpi...
22nd Jun 2017, 5:15 PM
Solo Wanderer 4315
Solo Wanderer 4315 - avatar
+ 1
Can you now tell me how to convert ValentinHacker's answer to inches? https://www.sololearn.com/discuss/470116/?ref=app She posted 480x854 px as the size...
22nd Jun 2017, 8:44 AM
Solo Wanderer 4315
Solo Wanderer 4315 - avatar