ACROS Magazine
Magazine

Science & technology

Why leave four squares of space around a QR code?

When a QR code goes on an exhibit label, how much of its white border can you trim? Use the smallest square in the code to compare two layouts.

An exhibit label with a QR code and an enlarged corner showing four small squares of blank space between the code and the background.
The label belongs to exhibit 07. Each tick on the enlarged detail marks the width of one small square in the code. There are four of those widths between the dark corner and the printed background.

Five widths hidden on a printed page

Imagine laying out a label for an exhibition of prints. You place a QR code linking to the artist’s notes over a pattern of ripples. A square of white paper around the code hides part of the pattern. Trimming the white would reveal more of the print. Would the phone camera miss it?

When Masahiro Hara and his colleagues developed the QR code, they wanted a reader to find it quickly on a busy page. They studied the widths of dark and light areas on flyers, in magazines and on cardboard boxes. The sequence they rarely found in print is now tucked into three corners of the code. Read DENSO WAVE’s account of the design.

Trace a finger across the center of the large square in the top left. You cross one dark square, one white, three dark, one white and one dark. Turn the paper and that ratio still gives a reader a clue to the square’s location. Figure 2 in the team’s patent application shows lines passing through its center at different angles. See figure 2 in patent application EP0672994A1.

How much room to reserve on the label

Outside the code, the printer needs another measurement. DENSO WAVE specifies clear space on all four sides of a regular QR code. Each margin measures four times the width of its smallest square, called a module. The code in our label has 21 modules on each side. Print one module at a width of 1 mm and the pattern takes up 21 mm. Allow 29 mm across the page once the two margins are in place. See DENSO WAVE’s guide to sizing the margin.

Two exhibit labels with the same ripple pattern and code. On the first the print touches the code. On the second a four-module white margin separates the code from the print on all sides.
The code and exhibit number stay the same size. On the upper label the ripples reach the code. On the lower one, white paper separates them. The code in this illustration contains the text EXHIBIT 07.

For a school exhibit, make a code for the actual link and place the same file on two labels. Let the background pattern meet the code on one. Give it a four-module margin on the other. Print both at their intended size. A parent can stand where a visitor would and try each print three times, alternating labels. Keep the phone, lighting and distance the same. Point the camera away between attempts and record whether the link appears within three seconds.

Further reading

Why did Harry Beck change the distances between stations? Decide where to give the lettering more room on a map of a school art fair.

Back to the magazine