Quick wins for a faster PC:
Repair Windows errors before they cause bigger problemsFix Now →Scan for outdated or missing drivers - takes under a minuteDriver Scan →Clear out junk files and repair common Windows errorsFree Scan →First decide which dimensions you need: a particular element, the visible viewport, the entire document, or an exported screenshot file. In Chrome, use Inspect mode for an element and Device Mode for the viewport. Use a full-size screenshot for content below the fold, then check the downloaded file’s properties for its actual image dimensions. Browser layout values are usually CSS pixels; image and hardware values can differ because of device pixel ratio (DPR).
Choose the kind of dimension you are measuring
“Website dimensions” can describe several different rectangles. Measuring the wrong one is the most common source of confusing results.
| Target | What the number describes | Best method |
|---|---|---|
| Element | The rendered width and height of a button, image, banner, card, or other DOM node. | Inspect the node in DevTools and read its box model. |
| Viewport | The browser area currently used for page layout, normally reported in CSS pixels. | Chrome Device Mode, Firefox rulers, or JavaScript viewport properties. |
| Full document | The page’s complete scrollable content, including areas below or beyond the viewport. | Capture a full-size screenshot or inspect document dimensions with a script. |
| Screenshot file | The pixel width and height of the exported PNG, JPEG, or WebP image. | Read the downloaded file’s properties in an image viewer or operating system. |
A viewport screenshot is not a full-page screenshot. A 1,440 CSS-pixel viewport can produce an image with a different width when device emulation or a retina scale is enabled, and the page can be much taller than the visible window.
Measure an element in Chrome
- Open the page in Chrome.
- Open DevTools with Ctrl+Shift+I on Windows, Linux, or ChromeOS, or Cmd+Option+I on macOS.
- Choose the Inspect mode button (the pointer-in-a-box icon). The shortcut is Ctrl+Shift+C on Windows, Linux, or ChromeOS and Cmd+Option+C on macOS.
- Hover over the target element. Chrome’s tooltip shows the selector and rendered dimensions, and can also show padding and margin.
- Click the element to pin it in the Elements panel. Open the Computed tab or the box-model diagram to distinguish content, padding, border, and margin.
The tooltip is the quickest answer to “How wide is this button?” The box model is better when CSS sizing explains why the visible border is larger than the content box. A rule such as box-sizing: border-box also changes how declared width relates to the painted border.
#1 Best Overall
- 【STAINLESS STEEL MATERIAL】The vernier caliper is made of high-strength stainless steel and is waterproof and dirt-proof. The service life of this stainless steel digital caliper is longer than that of calipers with plastic or carbon fiber parts.
- 【ACCURATE MEASUREMENT AND ZERO SETTING】This digital caliper glides smoothly. Measuring range: 0 -6" / 0-150mm; Accuracy: ± 0.001"/ 0.02mm; Resolution: 0. 0005"/0. 01mm. At the same time, the smart design allows you to easily reset to zero by pressing a button and start a new measurement at any point on the scale, which is very suitable for differential measurement.
- 【4 MEASUREMENT MODES】The digital caliper has 4 measurement modes, which can be used to measure inside and outside diameter, depth, and step with two sets of jaws and a probe. Multiple measurement modes can bring more usage scenarios to people, and the measurement process is also very convenient.
- 【UNIT CONVERSION & LARGER LCD SCREEN】These Digital Calipers have a one-key button to quickly switch from inches (inch), fractions (F), millimeters (mm). The 6" digital caliper has a large, easy-to-read LCD DISPLAY which is easy to use and read even under strong sunlight. It will automatically turn off after 5 minutes of non-use to save power.
- 【Wide Applications】 Compared to the ordinary rulers, this stainless steel caliper can measure not only length but also caliber and depth, allows you to measure circular and cylindrical objects, more functions and better performance will satisfy you. It has always been used by professionals and hobbyists alike, jewelers, hobbyists, woodworkers, machinists, DIY, automotive mechanics, and more.
Firefox and other browsers
Firefox’s Inspector and other browsers’ Elements panels expose the runtime HTML, applied CSS, computed values, and box model. Names and shortcuts vary by release, but the workflow is the same: inspect the node, then read its computed dimensions rather than relying only on a stylesheet declaration.
Find the current or target viewport size
Chrome Device Mode
- Open DevTools and click the Toggle device toolbar icon, or press Ctrl+Shift+M (Windows/Linux/ChromeOS) or Cmd+Shift+M (macOS).
- Use the device preset menu or choose Responsive.
- Read the width and height fields above the emulated page. Type exact values or drag the handles to test breakpoints.
- Record whether device emulation, a device scale factor, or browser zoom is active.
These fields represent the emulated layout viewport in CSS pixels. They are ideal for checking a media-query breakpoint, but they are not automatically the pixel dimensions of a saved image.
Firefox rulers
- Open Developer Tools and open its settings (the gear icon).
- Enable the Toggle rulers button if it is not already in the toolbar.
- Turn the rulers on and read the viewport dimensions shown near the upper-right of the page.
Firefox notes that rulers must be enabled again in new tabs and after each refresh. Labels can change slightly between browser releases.
Use JavaScript in the console
Open the DevTools Console and run the following object:
Free tools Windows power users keep installed
One-click scans. No signup required.
({
clientWidth: document.documentElement.clientWidth,
clientHeight: document.documentElement.clientHeight,
innerWidth: window.innerWidth,
innerHeight: window.innerHeight,
devicePixelRatio: window.devicePixelRatio
})
document.documentElement.clientWidth and clientHeight exclude borders, margins, and a rendered vertical scrollbar. window.innerWidth and innerHeight include the rendered scrollbar. Neither pair is the full document size, and outerWidth/outerHeight include browser chrome, so they are not substitutes for the page viewport.
Rank #2
- Best Cost-effectiveness: We've crafted this plastic digital caliper with a singular focus – delivering unmatched value at an unbeatable price. While others chase high-precision innovations, we prioritize essential features that truly matter.
- 4 Measurement Modes and Precision: Outside diameter, inside diameter, depth, and step measurements. Measurement range: 0-6 inches / 0-150 mm, accuracy: ±0.2 mm / 0.01 inches. Whether it's for home projects, DIY, or 3D print, having this caliper will elevate you to be a measurement star.
- Low Energy Consumption Design with Smart Auto-Off Function: With just a single battery, our caliper can support 8+ months of measurements. It can automatically turns on when you slide it, and turns off within 5 mins when not in use, effectively conserving battery power.
- Tough Plastic Case Packaging and Secure Measurements: The plastic case packaging effectively protects the caliper from external impacts and friction, ensuring that it stays in optimal condition at all times. Moreover, our digital caliper is made of extra strong carbon fiber composites that are not easy to damage the measured object during use.
- What You Get: Digital Caliper *1, Tough Plastic Case *1, and LR44 button batteries *3(with one pre-installed). Additionally, we offer a lifetime warranty and friendly customer service to ensure your complete satisfaction.
Measure the full page and the screenshot file
Chrome
In Device Mode, open the More options menu (three dots) and choose Capture full size screenshot. This includes content outside the current viewport. Capture screenshot captures only the visible viewport.
Firefox
In Developer Tools settings, enable Take a screenshot of the entire page, then use the screenshot icon. Firefox’s Web Console also provides a :screenshot helper; use its --fullpage option for the complete document. It can also accept a delay, device-pixel-ratio setting, filename, or CSS selector for an element capture.
Verify the exported image
After downloading, open the file’s information panel or image editor and read its pixel width and height. Do not calculate full-page height by multiplying viewport height by an estimated number of screens: sticky headers, lazy loading, fractional layout sizes, and browser capture stitching make that unreliable.
CSS pixels, device pixels, and visual viewport
CSS pixels are logical layout units. DPR is the ratio between physical screen pixels and CSS pixels. For example, a 400-CSS-pixel viewport can map to a different number of device pixels on a high-density display. A screenshot tool may also apply its own scale, so always label a result as CSS pixels, device pixels, or image pixels.
The layout viewport is the coordinate system used for page layout. The visual viewport is the portion currently visible to the user and can change when someone pinches to zoom, opens an on-screen keyboard, or sees browser interface elements appear or disappear. A useful rule is: the visual viewport is the part of the web page currently visible, and it can change.
For a reproducible measurement, write down the browser and version, zoom level, viewport width and height, DPR or emulation scale, scrollbar state, and whether mobile UI or pinch zoom was involved.
Rank #3
- [INCH/MM Conversion]: One button can quickly convert two measuring unit (INCH/MM). Measuring Range:0 - 150mm (6") / Resolution: 0.01mm (0.0005")/Accuracy: ±0.02mm (0.001")
- [Stainless Steel Material]: The vernier caliper is made of high-strength stainless steel, which is waterproof, stain-proof and oil-proof. The ergonomic design brings you a comfortable feeling.
- [Large and Clear Display Screen]: Large LCD display gives you a clear reading. The thumb rolling and locking screw provide easy sliding, accurate positioning, and fine adjustment.
- [Multifunctional Use]: The digital micrometer can easily and accurately measure internal, external, height and depth dimensions.
- [Automatically shut off]: When you have no action on the dial caliper, it can automatically shut off after 4 minutes.
A repeatable measurement workflow
- Name the target: element, viewport, full document, or screenshot file.
- Set conditions: choose the browser, zoom, viewport, responsive emulation, and (if relevant) DPR.
- Measure: use Inspect mode for a node, Device Mode or rulers for the viewport, and full-size capture for off-screen content.
- Record units: write “CSS px” for layout values and “image px” for the downloaded file.
- Save evidence: keep the URL, timestamp, browser version, and a screenshot or console output when another developer must reproduce the result.
Or skip the browser setup
ScreenshotNeo is a website screenshot API and MCP server for developers. One request returns a PNG, JPEG, WebP, or PDF, with options for full-page capture, a CSS-selected element, viewport and device presets, dark mode, retina scale, custom CSS or JavaScript, waits, click actions, hidden selectors, blocked resources, cookies, headers, user agents, timezone, geolocation, transparent backgrounds, resizing, caching, signed links, asynchronous webhooks, bulk capture, and usage reporting. Its parameter names match those used by many screenshot APIs, which can simplify a migration.
Use the API documentation at https://screenshotneo.com/docs/ for the complete option list. A basic call is:
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp
Python:
import requests
r = requests.get("https://api.screenshotneo.com/v1/shot", params={"access_key": "YOUR_API_KEY", "url": "https://stripe.com"}, timeout=90)
open("shot.webp", "wb").write(r.content)
Node.js:
const q = new URLSearchParams({ access_key: 'YOUR_API_KEY', url: 'https://stripe.com' });
const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);
Before capture, ScreenshotNeo accepts cookie and consent banners and removes more than 60 known consent platforms, newsletter popups, and chat widgets; each cleanup step can be disabled. Bot checks or CAPTCHAs, blank pages, timeouts, failed loads, and cache hits are not billed. Response headers identify the page verdict and whether the request was billed (X-Page-Verdict and X-Billed). Its MCP server exposes take_screenshot, get_page_info, and capture_pdf to Claude, Cursor, and other MCP clients.
| Plan | Included shots | Price |
|---|---|---|
| Free | 1,000 per month | $0, no card |
| Starter | 3,000 | $5 |
| Growth | 15,000 | $15 |
| Pro | 60,000 | $39 |
| Scale | 250,000 | $99 |
| Business | 1,000,000 | $249 |
Yearly billing gives two months free, and every feature is available on every plan. Start with 1,000 free screenshots a month—no card required.
Troubleshooting measurement errors
The width changes after opening DevTools
Docked DevTools reduces the available viewport. Undock it or set a fixed Responsive width, then measure again. Also check whether a scrollbar appeared when the page became narrower.
Do these 3 things before closing this tab:
1Repair Windows errors before they cause bigger problems2Scan for outdated or missing drivers - takes under a minute3Clear out junk files and repair common Windows errorsThe element’s CSS width does not match what I see
Read the computed box model. Padding, borders, transforms, percentage sizing, and box-sizing can all change the painted result. A transform can visually scale an element without changing its layout width.
Rank #4
- Solid stainless steel build – This digital caliper 6 inch resists rust, wear, and corrosion, outlasting plastic models. The sturdy metal body handles daily workshop use without bending. The shockproof case protects your measuring tool from drops and impacts, keeping it safe and ready for each job
- Reliable accuracy with smooth glide – This digital vernier caliper measures 0‑6″ / 0‑150mm with ±0.02mm / 0.001″ accuracy and 0.01mm resolution. The thumb roller glides without sticking, and the locking screw holds your reading steady. From checking 3D print filament and woodworking joints to measuring jewelry and small parts for repairs, you can trust the results
- Four measurement modes in one – Use two jaw pairs and a depth probe for ID, OD, depth, and step measurements. No need to switch digital caliper measuring tool – this versatile dial caliper covers tubing, bores, recesses, and shoulders. Press the zero button anywhere to reset for quick comparative checks. Close and re‑zero before each use to ensure consistent readings
- Metric & Imperial conversion with large LCD – This electronic vernier caliper lets you switch between millimeters and inches with one click. The oversized LCD screen displays crisp, bold numbers that are easy to read at a glance. The wide viewing angle means you can read it clearly without tilting the caliper. Auto‑off powers down after 5 minutes of non‑use to save battery
- Complete kit – ready out of the box – Your package includes the digital micrometer, a sturdy case, two batteries (one spare), a mini screwdriver, and a stainless steel ruler. No extra trips to the store – just open and start working. A practical choice for DIYers, hobbyists, and makers who need reliable measurements at home or in the workshop
Mobile dimensions disagree with a physical phone
Device emulation approximates a device’s CSS viewport. Hardware DPR, browser UI, orientation, and pinch zoom can change the visual viewport. Record the emulated settings and compare CSS pixels with image pixels separately.
The full-page capture is too short or missing images
Wait for lazy-loaded content, scroll-triggered sections, fonts, and animations to finish before capturing. Disable animations where possible, or use a deliberate delay. Confirm that the page did not fail a bot check or time out.
The downloaded image is wider than the viewport setting
Check DPR, retina scale, and the image metadata. A scale factor multiplies CSS dimensions when the file is rendered; it does not mean the page layout was that wide.
Recommended Free Tools
Console values look impossible
Ensure the console is attached to the intended frame and page, not a cross-origin iframe or an old tab. Refresh, rerun the script, and compare clientWidth with innerWidth while noting scrollbar presence.
Performance and reliability considerations
Local DevTools is fastest for one-off inspection because it measures the page already open in your browser. Automated captures are more repeatable when you specify viewport, waits, cookies, user agent, and DPR. Full-page screenshots consume more time and memory than viewport captures, especially on very long pages. Freeze animated content, wait for network or a selector, and use a cache when repeated captures do not need fresh data.
Best Value
- 【Stainless steel material】Digital calipers are made of high quality stainless steel, waterproof and rustproof, and the sturdy frame reduces the wear and tear of vernier calipers, allowing a longer service life
- 【Accurate measuring range】 0-12 inches/300mm; Display: 14mm x 40mm oversized LCD; Accuracy: ±0.04mm/0.0015 inches; Resolution: 0.01 mm/0.0005 inches. The knurled thumb roller ensures smooth gliding in use; the locking screw enables accurate positioning. These two designs ensure smooth operation during measurement and prevent slippage or jams from occurring
- 【4 measurement modes】The digital caliper comes with two pairs of jaws and a probe to easily measure depth, step length, outside diameter and inside diameter. Four measurement methods meet most of your measurement needs
- 【3 unit conversions】 With the push of a button, you can quickly switch between the 3 units of the digital caliper: inches, millimeters and fraction; plus the large LCD screen makes it easy to read. You can reset it to zero with the zero button, plus the digital vernier caliper will automatically turn off after 5 minutes of non-use to save power
- 【Wide application】HARDELL digital caliper comes with 1*ruler, 1*screwdriver, 2*batteries. The case is resistant to pressure, shock and drop for easy storage and carrying. 12 inch caliper micrometer has been used by professionals and amateurs, it is the best choice for mechanics, woodworkers, jewelers, craftsmen, DIY enthusiasts, auto mechanics, etc
For production jobs, retain the requested URL and capture settings with the resulting file. Treat bot checks, blank responses, timeouts, and failed loads as distinct outcomes rather than silently accepting a zero-byte or partial image. ScreenshotNeo exposes those outcomes in its response headers and does not bill those failed categories or cache hits.
Frequently Asked Questions
Are browser viewport dimensions always the same as screen resolution?
No. Viewport dimensions are CSS-pixel layout values. Screen resolution is commonly expressed in physical pixels, and DPR maps between the two.
How can I measure just one CSS-selected element automatically?
Use an automated screenshot service that supports element selection, such as ScreenshotNeo’s CSS-selector capture option, or run browser automation that queries the element’s bounding rectangle.
Why do two browsers report slightly different heights?
Scrollbar treatment, browser UI, zoom, mobile visual-viewport changes, and device emulation can differ. Compare measurements only after recording those conditions.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




