ER Diagram Notation Guide: Crow's Foot, Chen & UML Compared
The three most common ER diagram notations explained with side-by-side examples, cardinality symbols, and guidance on when to use each.
What Is an ER Diagram?
An Entity-Relationship (ER) diagram is a visual representation of a database schema. It shows the entities (tables) in a database, the attributes (columns) of each entity, and the relationships (foreign keys) between them. ER diagrams are the standard communication tool between developers, database administrators, and domain experts when designing or documenting a database.
Three major notation styles have emerged over the decades, each with different strengths. This guide compares all three so you can read any ER diagram you encounter and choose the best notation for your team. Our Schema Designer uses a visual node-based approach inspired by Crow's Foot notation, the most common style in modern tooling.
Crow's Foot Notation (IE Notation)
Crow's Foot notation, also called Information Engineering (IE) notation, is the most widely used ER diagram style in the software industry. It uses distinctive symbols at the endpoints of relationship lines to indicate cardinality and optionality. The name comes from the three-pronged fork symbol that represents "many."
Cardinality Symbols
Each end of a relationship line has two symbols: one for the minimum cardinality (closest to the entity) and one for the maximum cardinality (at the line end). The four combinations create the following relationship types:
| Symbol | Meaning | Description |
|---|---|---|
| || | Exactly one | A single vertical line (mandatory, one) |
| |O | Zero or one | Circle = optional, line = maximum one |
| |{ | One or more | Fork (crow's foot) = many, line = at least one |
| O{ | Zero or more | Circle + fork = optional, can be many |
Reading a Crow's Foot Diagram
Read the relationship from left to right (or top to bottom): "One Customer places zero or more Orders." The verb label on the relationship line describes the action, and the symbols at each end describe the cardinality. The symbol closest to an entity describes how that entity participates.
Customer ||--o{ Order : places
Order ||--|{ LineItem : contains
Product ||--o{ LineItem : "is in"This reads: each Customer places zero or more Orders, each Order contains one or more LineItems, and each Product appears in zero or more LineItems.
When to Use Crow's Foot
- Modern database design tools (most use this notation by default)
- Communication with developers and DBAs
- Mermaid ER diagrams (the
erDiagramsyntax uses Crow's Foot symbols) - Any context where cardinality clarity matters most
Chen Notation
Chen notation is the original ER notation, introduced by Peter Chen in his 1976 paper. It uses distinct geometric shapes: rectangles for entities, diamonds for relationships, and ovals for attributes. Cardinality is indicated by numbers or letters (1, M, N) written near the connecting lines.
Shape Vocabulary
| Shape | Represents | Example |
|---|---|---|
| Rectangle | Entity (table) | Customer, Order, Product |
| Diamond | Relationship | Places, Contains |
| Oval | Attribute | name, email, price |
| Underlined oval | Key attribute | id (primary key) |
| Double rectangle | Weak entity | LineItem (depends on Order) |
| Double diamond | Identifying relationship | Relationship to weak entity |
When to Use Chen Notation
- Academic courses and textbooks (most database courses teach Chen first)
- Conceptual modeling where you need to distinguish entities, relationships, and attributes visually
- Early-stage design before physical schema decisions are made
- When modeling complex relationships that benefit from the explicit diamond shape
UML Class Diagram Notation
UML (Unified Modeling Language) class diagrams can also represent database schemas, especially when the same diagram needs to communicate both object-oriented code structure and database design. UML uses rectangles divided into compartments (name, attributes, operations) connected by lines with multiplicity indicators.
Multiplicity Notation
| UML | Meaning | Crow's Foot Equivalent |
|---|---|---|
| 1 | Exactly one | || |
| 0..1 | Zero or one | |O |
| 1..* | One or more | |{ |
| * | Zero or more | O{ |
Association Types
UML distinguishes between different strengths of relationship using line decorations:
- Association (plain line): a general relationship between two entities
- Aggregation (hollow diamond): a "has-a" relationship where the parts can exist independently (e.g., Department has Employees)
- Composition (filled diamond): a strong "owns" relationship where the parts cannot exist without the whole (e.g., Order owns LineItems)
- Generalization (hollow triangle): inheritance / is-a relationship (e.g., SavingsAccount is-a Account)
When to Use UML
- Teams that use UML across the stack (class diagrams for code, same notation for DB)
- Projects with ORM-heavy architectures where object model maps directly to tables
- Documentation that needs to bridge application logic and database design
Notation Comparison Summary
| Feature | Crow's Foot | Chen | UML |
|---|---|---|---|
| Primary use | Physical design | Conceptual design | Cross-domain |
| Cardinality | Symbols on line ends | 1, M, N labels | Multiplicity text |
| Attributes shown | Inside entity box | As ovals outside | Inside compartment |
| Compactness | High | Low (many shapes) | Medium |
| Tool support | Most modern tools | Academic tools | UML tools |
Choosing a Notation
For most development teams, Crow's Foot notation is the pragmatic choice. It is compact, widely understood by developers and DBAs, and supported by virtually every modern database design tool including our Schema Designer. Chen notation remains valuable in academic settings and for conceptual modeling workshops where you want to distinguish entities, relationships, and attributes at a glance. UML makes sense when your team already uses it for class diagrams and wants consistency across code and database documentation.
Regardless of notation, the underlying concepts are the same: entities, attributes, relationships, and cardinality. Once you understand these four concepts, switching between notations is straightforward.
Further Reading
- The Entity-Relationship Model — Toward a Unified View of Data (Chen, 1976)
Peter Chen's original paper introducing the Entity-Relationship model and notation.
- ER Diagram Tutorial - Lucidchart
Visual guide to ER diagram notation with interactive examples.
- UML Class Diagrams - Visual Paradigm
Comprehensive UML class diagram tutorial covering associations, aggregations, and compositions.