How To Measure Pixels On A Webpage?

Quite recently one of my friend on (follow me @keithdsouza) asked how one could measure pixels between any two points on a webpage?

There was something about this question, that made me realize that, I have been using a that helps users to measure pixels on a webpage, in a quick and easy way for ages now.

The Web Developer extension for is something I rely on quite often for several reasons, I feel will not fit this post, but to answer this certain question, you can easily measure pixels on any webpage using the Web Developer add-on.

If you do not already have this useful add-on installed in Firefox, download it first and then visit the toolbar or the Tools menu and click on Miscellaneous > Display Ruler.

view_screen_ruler_firefox

Once you have enabled the ruler you can measure any object on the webpage to determine the exact pixels used for the HTML object. Take a look at the screenshot below to see how much pixels are used to display the Techie Buzz logo.

exact_pixel_measurements

This is one extension we would recommend to everyone, there are several other features which come in really handy and can make it a must have Firefox add-on.

We have a compiled list of cool for programmers and designers coming up soon, it’s been on a backburner, but this question has led me to work and publish that post faster, so stay tuned and visit back regularly.

Download Web Developer Firefox Add-on

  • Share

After Reading This Post Other People Went on to Read: »

Comment Using Facebook

7 Responses to this Article | Share your Opinions/Comments

We moderate comments to prevent spam. Moderation is done within few hours. Please try and stay on topic and refrain from using abusive language. If you think there is a problem with this post, please email the post author or send us an email at tips@techie-buzz.com with the URL and the problem you see and we will rectify it as soon as we can.

  1. Max Sharov on April 22nd, 2009 at 5:21 pm #

    I think it`s easier to measure pixels using Firebug. Besides it shows borders, paddings and margins of selected objects.

  2. keerthi on March 14th, 2010 at 7:16 pm #

    sir, can you tel me what are all the elements in a single pixel and how to measure the pixel?

  3. adrian on June 18th, 2010 at 12:18 pm #

    Thanks!

    Didn't realize the web developer tool bar had a ruler!

  4. Custom Built WordPress Websites on April 19th, 2011 at 1:27 pm #

    I can not thank you enough for this information on measuring pixels on websites. Since the FireFox 4 Update the “Measure It” addon does not work anymore. Since I am always building and designing custom wordpress power sites this is a much need tool for me right now. Especially for knowing what size images need to be along with how big ads need to be created for. I thank you ever so much for this post. You have saved me so much guess work. Wish is exactly what I’ve been doing since the new FireFox 4 Update. As with Adrian in the post below I didn’t even release that the web developer toll bar had a ruler and it just so happens I already have that installed.

    Thanks Again,

    Mike Guminski

    • Keith Dsouza on April 19th, 2011 at 1:55 pm #

      @Mike – Glad you found this helpful. I have been using the Web Developer extension since past 5 or so years and have found it to be really good

  5. Dejan web dizajner on April 23rd, 2011 at 9:58 am #

    How can I measure pixels with Firebug? Anyone?

  6. Surya on August 18th, 2011 at 7:16 am #

    Thanks to Chris Pederick, these are very useful.

    When measure it died I felt lost and desperate, I even tried holding a ruler up to the screen – that’s how bad it got.

    I feel like a reformed man now you have given me the tools of the trade again.

    Or