How to use this calculator
- Enter the width across the label and the height in the feed direction. Choose the correct units.
- Select your printer’s actual resolution and review the dimensions in dots.
- Copy the generated commands into your label format, then calibrate and test the format on your printer.
These commands set dimensions; they do not create a complete label design or configure every printer setting.
Formula and method
Width and height are independently converted at the selected actual resolution using the chosen rounding mode. Landscape swaps the axes before creating ^PW for print width and ^LL for label length.
Read the methodology and source notes →
Read the complete calculate zpl ^pw and ^ll from label size guide →
Worked example
A 100 × 50 mm portrait label on a 12 dots/mm printhead becomes exactly 1,200 × 600 dots, producing ^PW1200 and ^LL600.
How to interpret the result
Use the values in a controlled test format, verify the printer’s actual resolution and media mode, then calibrate with the intended media.
Limitations
^LL applies to continuous media by default; gap or mark media can be sensor-calibrated, and ^LLy,Y explicitly applies it to all media. This is not a renderer, and origins, limits, firmware and configuration still apply.
Related tools
Related guides
Usage instructions updated October 19, 2026.
Last reviewed: