Skip to content
DepthCarve

Resolution-to-Physical Converter

Depth map pixel pitch calculator for CNC, laser & 3D print

Convert pixel resolution and physical board width into exact millimeter-per-pixel pitch so you know whether a 1024 px, 2048 px, or 4096 px heightmap is sharp enough for your machine.

100% Local Browser Calculator · Free

Interactive parameters & live geometry output

Quick starting presets

Inputs

Calculated shop readout

8-Bit vs 16-Bit Z-Step

21.6 µm vs 0.08 µm· high

8-bit gives 65 steps across 25% ramp (~1.56 mm wide terraces)

Sample Pixel -> Z-Height

3.88 mm

8-bit 180/255 = 16-bit 46,260/65,535

Blender Displace Strength

0.0055 m

Net shift at Midlevel 0.5: +1.13 mm

Physical Pixel Pitch

0.098 mm/px

Equivalent to 260 DPI at 200 mm width

Ready to turn a photo into this exact relief?

Preview 3D geometry free · Export true 16-bit PNG + EXR + watertight STL

Preview depth maps free in browser and export crisp high-resolution true 16-bit PNGs + binary STLs. Failed jobs never lose credits, purchased credit packs never expire, and commercial client carving rights are included.

Target physical pixel pitch by fabrication process

ProcessTooling feature sizeRecommended pixel pitchWidth px for 200 mm partWhen you are pixel-limited
Galvo Fiber Laser35–50 µm beam0.02–0.05 mm/px4000+ px (or 1500 px on 40 mm)Pitch > 1.5× line interval
Fine CNC Relief0.5–1.0 mm ball nose0.05–0.12 mm/px1600–3200 pxPitch > 0.5× bit radius
Standard CNC Sign1.5–3.175 mm ball nose0.10–0.25 mm/px1000–2048 pxPitch > 0.5× bit radius
FDM Lithophane0.4 mm nozzle0.10–0.16 mm/px1250–2000 pxPitch > 0.25 mm/px

Why megapixels mean nothing without physical workpiece width

A 1024-pixel wide depth map looks razor-sharp on a 40 mm brass coin (0.039 mm/pixel, or 650 DPI), yet produces blocky 0.44 mm pixels on a 450 mm wooden wall sign. Evaluating pixel pitch in millimeters per pixel connects digital image dimensions straight to real cutters and laser spots.

Before enlarging a relief to a larger board, check the physical pixel pitch here so you catch low-resolution blur before clamping stock.

How pixel pitch interacts with 8-bit vs 16-bit depth

Horizontal smoothness comes from tight pixel pitch (X and Y axes), while vertical smoothness comes from 16-bit depth precision (Z axis). Fixing only one axis leaves artifacts: a 4096 px 8-bit depth map still carves terrace rings, and a 512 px 16-bit map still shows square X/Y grid facets.

This calculator displays both X/Y pixel pitch and Z-axis micron step size together so neither axis bottlenecks your finish.

Inspecting existing PNG dimensions locally

Have a heightmap from another generator or marketplace? Drop it into DepthCarve's free browser PNG Bit Depth Checker to verify its exact pixel dimensions, color type, and real unique gray-level count without uploading anything.

When you need a fresh relief from a photograph, DepthCarve generates high-resolution true 16-bit PNGs and matching watertight STLs in one workflow.

Frequently asked questions

How do I calculate pixel pitch in millimeters?

Divide your physical workpiece width in millimeters by (image pixel width minus 1). For example, a 200 mm plaque using a 2001 px wide depth map has a pixel pitch of exactly 0.100 mm/pixel.

What pixel pitch is good enough for CNC wood carving?

Keeping pixel pitch between 0.08 mm/px and 0.15 mm/px covers almost all 1.0 mm to 2.0 mm tapered ball-nose woodworking jobs with zero visible pixel faceting.

Does upscaling a blurry 500 px depth map in Photoshop fix pixel pitch?

Bicubic upscaling softens hard stair edges slightly, but it cannot recover missing anatomical geometry. Start from a clean high-resolution source photo and native 16-bit depth estimation.

How do I convert pixel pitch to DPI?

Divide 25.4 by your millimeter pixel pitch. A 0.10 mm/pixel pitch equals 254 DPI; a 0.04 mm/pixel pitch equals 635 DPI.