QR code
A QR code is a square two-dimensional barcode, read by an imaging scanner or a phone’s camera, often to open a website. The three large squares in its corners are finder patterns, which let a reader find the code and its angle; the rest is the data and its error correction.
Easily confused with
How to read it
QR stands for quick response. Denso Wave, then part of Denso, announced it in 1994; it became an ISO standard, ISO/IEC 18004, in 2000, and Denso Wave has said it won’t exercise its patent on the standardised code. Each black or white square is a module. The smallest QR code, version 1, is 21 by 21 modules and each version adds four modules a side, up to version 40 at 177 by 177, which GS1’s specification says can hold 7,089 digits or 4,296 letters and digits.
Also searched as: how do qr codes work, qr code, qr code corners, qr code meaning, qr code squares, quick response code, what does qr code stand for.
These pages say what each code and its parts mean under the standard that defines it. A barcode identifies an item; it doesn’t say where the item was made or whether it is genuine, and the label and the maker are the place to look for that.
What the parts of a QR code mean
The three square-in-a-square marks are the position detection, or finder, patterns. Their developer Masahiro Hara chose squares as the pattern least likely to appear on business forms, Denso Wave records, and the team picked the proportions of black and white across each mark, 1:1:3:1:1, after surveying printed matter for the least used ratio. Keyence’s guide describes the rest: a row and a column of alternating black and white modules between the finders are the timing patterns, which give the grid’s coordinates; the format information holds the error correction level and mask, and is read first; an alignment pattern corrects for distortion; and a blank margin of four modules runs all round.
Error correction levels L, M, Q and H
A QR code repeats its data in a Reed-Solomon error correction code, so part of it can be dirty or missing and still read. There are four levels: L restores about 7% of the codewords, M 15%, Q 25% and H 30%, GS1’s specification says. A higher level makes a larger code for the same data. Denso Wave says M is the one most often chosen, with Q or H for dirty factory settings.
Look-alikes
A Data Matrix code has a solid L along two edges instead of corner squares. Micro QR, a smaller variant, has one finder square, not three.
Read next
- Next in Barcodes and QR codesData Matrix codeA Data Matrix code is a small square or rectangular 2D barcode, recognised by a solid black L along two edges and alternating black and white squares along the other two. It is the code on prescription medicine packs, surgical instruments and marked parts.
- The same shape in OBD-II trouble codesP0452: Evaporative emission system pressure sensor/switch lowAn OBD-II trouble code meaning the evaporative emission system’s pressure sensor is sending a signal lower than the engine computer expects.
More barcodes and QR codes
The same shape elsewhere
Browse symbols drawn with squares and rectangles.
Sources
- History of QR Code, QRcode.com, DENSO WAVE, Sections 1 and 2
- Error correction feature, QRcode.com, DENSO WAVE, Error correction feature
- Information capacity and versions of the QR Code, QRcode.com, DENSO WAVE, Versions
- GS1 General Specifications Standard, Release 26.0, ratified January 2026, GS1 AISBL, §5.7.1; §5.7.2
- What is a QR code? | Basics of 2D codes, Barcode Information & Tips, KEYENCE Corporation, Structure of QR code
Researched, edited and approved by Rory Hansen before publishing. Last reviewed October 9, 2026. How we research
Added .