You can do this simply by dragging from the desired pixel to the lowerupper left corner of the screen. This will create a selection rectangle, and the size of that rectangle is shown in the screen. Since the rectangle can only stretch until it reaches the origin (the corner), its size will be the same as the pixel coordinates you're looking for.
0,0 is the upper left corner, not the lower left.