Crow’s foot notation

On this page 7

Crow’s foot notation is a graphical convention for entity-relationship diagrams in which the ends of each relationship line carry symbols for cardinality and optionality, with a three-pronged fork, the crow’s foot, standing for many. In data modeling for databases, it is the most widely used way to show how many instances of one entity can or must relate to instances of another.

The notation is associated with the Information Engineering methodology developed by Clive Finkelstein and James Martin, building on earlier work by Gordon Everest. Its popularity comes from compact, readable diagrams that map directly onto tables, primary keys and foreign keys, which is why most modern modeling and database design tools use it by default.

How crow’s foot symbols encode relationships

Each relationship end combines two markers read from the outside in. The outer marker, closest to the entity, states the maximum cardinality: a single bar means one, a crow’s foot means many. The inner marker states the minimum cardinality, also called optionality: a circle means zero, a bar means one.

The markers at one end describe how many instances of the entity at that end can relate to a single instance of the entity at the other end. Reading a line therefore takes two sentences, one in each direction, such as “each customer places zero or more orders” and “each order is placed by exactly one customer”.

The table below summarizes the four standard end combinations and how they are read.

Symbol at line endMinimumMaximumReading
Bar and bar11Exactly one (mandatory one)
Circle and bar01Zero or one (optional one)
Bar and crow’s foot1ManyOne or more (mandatory many)
Circle and crow’s foot0ManyZero or more (optional many)
The four crow’s foot end symbols

Common relationship patterns

Combining the two ends of a line yields the classic relationship types used throughout relational design. Each pattern has a characteristic translation into tables, which is the main practical value of the notation.

PatternExampleTypical implementation
One-to-oneEmployee and parking permitForeign key with a unique constraint
One-to-manyCustomer and orderForeign key on the many side
Many-to-manyStudent and courseJunction table with two foreign keys
Optional one-to-manyDepartment and employeeNullable foreign key
Recursive one-to-manyEmployee and managerSelf-referencing foreign key
Relationship patterns and their physical implementation

Minimum cardinality maps to NOT NULL constraints on the foreign key side: a mandatory parent becomes a non-nullable column, an optional one becomes nullable. The opposite direction, such as “every customer must have at least one order”, cannot be enforced by a foreign key alone and usually requires triggers, deferred constraints or application logic.

Many-to-many relationships are drawn directly in conceptual models but are resolved into a junction table in logical and physical models. The junction entity then has two mandatory one-to-many relationships, one to each original entity.

How it compares with other ER notations

Crow’s foot is one of several competing notations, and each emphasizes different aspects of a model. The choice affects readability and how much semantic detail a diagram can carry.

NotationCardinality shown byAttributesBest suited for
Crow’s footSymbols at line endsListed inside entity boxesLogical and physical relational design
Chen notationLabels such as 1, N, M on linesSeparate ovalsTeaching and conceptual modeling
UML class diagramMultiplicity ranges such as 0..*Inside class boxesObject-oriented and software design
IDEF1XDots and letters at line endsInside boxes with key separationGovernment and formal standards work
Barker notationCrow’s foot with dashed optional linesInside rounded boxesOracle-oriented design practice
Crow’s foot compared with other notations

Chen notation represents relationships as diamonds and can show relationship attributes and n-ary relationships explicitly, which crow’s foot handles only by introducing an associative entity. In exchange, crow’s foot diagrams are far denser, which matters when a schema has dozens of tables. Barker notation, used in Oracle tooling, is a close relative that expresses optionality with dashed line halves instead of circles.

Drawing clear crow’s foot diagrams

A good diagram is readable without a legend by anyone who knows the convention. Experienced modelers follow a few habits that keep larger diagrams accurate and easy to review.

  • Label each relationship with a verb phrase in both directions, such as places and is placed by.
  • Show primary keys and foreign keys inside entity boxes in logical and physical models.
  • Place parent entities above or to the left of children so crow’s feet point consistently in one direction.
  • Decide minimum cardinality deliberately for every end, since it becomes a NOT NULL decision.
  • Split very large models into subject-area diagrams rather than one unreadable poster.

Distinguishing identifying from non-identifying relationships is another refinement. In many tools an identifying relationship, where the child key includes the parent key, is drawn with a solid line, while a non-identifying one uses a dashed line. Conventions vary by tool, so a short note on the diagram avoids confusion.

Limitations and frequent mistakes

Crow’s foot notation is intentionally minimal, so it leaves out constraints that some models need. Reviewers should know where the symbols stop and where textual rules must take over.

MistakeConsequenceCorrection
Reading markers from the wrong endCardinality is invertedRead the symbols next to the entity being counted
Omitting minimum cardinalityNullability remains undecidedDraw a circle or bar on every end
Leaving many-to-many in a physical modelNo implementable table structureIntroduce a junction table
Expecting exact counts such as 2 to 5Notation cannot express themAdd a check constraint or written business rule
Mixing symbols from several notationsReviewers misread the modelAdopt one notation per project
Typical errors and how to correct them

The notation also has no native symbol for ternary relationships or for subtype hierarchies, although many tools add extensions for supertypes and subtypes. When such semantics are central, a conceptual model in Chen or UML may communicate better, with crow’s foot reserved for the logical and physical layers.

The idea in brief

Crow’s foot notation is a simple drawing language for how data connects. Boxes stand for things a business keeps track of, such as customers or orders, and lines join the things that belong together.

Small marks at each end of a line answer two questions: at least how many, and at most how many. A forked end, which looks like a bird’s foot, means many. A circle means none is allowed, and a straight bar means one. With only these marks, anyone can see at a glance that one customer can have many orders, while each order belongs to exactly one customer.

A practical scenario

A regional clinic network commissions a new appointment system. Before any code is written, the data architect draws a crow’s foot diagram with entities for patient, physician, appointment, clinic and specialty, and reviews it with the clinic managers in a one-hour workshop.

The managers notice that the draft shows each physician working at exactly one clinic, while in reality many physicians rotate between two or three sites. The architect changes the relationship to many-to-many and resolves it with a junction table for physician assignments that also stores weekday schedules. A second correction makes the appointment-to-physician end mandatory one instead of optional, because unassigned appointments are not permitted.

Both errors would have been expensive to fix after deployment. Catching them on paper meant the physical schema, generated from the diagram as 14 tables with matching foreign keys and NOT NULL constraints, matched clinic operations from the first release.