Comparison · ER diagram notations

Chen vs crow's foot notation: the same model drawn both ways

In short

Chen notation draws entities as rectangles, relationships as diamonds and, in textbooks, attributes as ovals, with 1, N and M written on the lines. Crow's foot notation draws entities as boxes that list their attributes inside, relationships as plain lines, and cardinality as marks at the line ends: a bar, a circle and the crow's foot. Chen is the conceptual notation of database textbooks and exams. Crow's foot is the notation of database design tools, where the diagram turns into tables.

Updated · by the ChartCraft team · drawings rendered with Mermaid 11.17.2 · part of the ER diagram symbols reference

What is the difference between Chen and crow's foot notation?

They draw the same ideas with different symbols. The biggest differences are where attributes go, how a relationship is drawn, and whether the minimum is shown.

ConceptChenCrow's foot
EntityA box with the entity name on top and its attributes listed inside
AttributeA row inside the entity box
Key attributeA row marked PK
Relationship
One to many
Minimum (optional or mandatory)Not in Chen 1976. Textbooks add a double line for total participation or (min,max) pairs.Built in: a circle for zero, a bar for one
Weak entityNo special box. Its key includes the parent's key, and the line is solid
Foreign keysNot shown: the relationship stands for themShown as FK rows in the child entity

What does the same model look like in both notations?

Here is a small library in both notations: members take out loans, and each loan is for one copy of a book. Read the two drawings against each other line by line.

The library model in Chen notationmember_idnameloan_iddue_datecopy_idshelf1NN1MEMBERLOANCOPYtakes outis for
Chen notation, drawn by hand because Mermaid has no Chen diagram. Double lines show that every loan takes part in both relationships.
The library model in crow's foot notation: three boxes with attributes inside, two lines with marks at the ends
The same model in crow's foot notation. Rendered with Mermaid 11.17.2 from the code below.
erDiagram
    direction LR
    MEMBER ||--o{ LOAN : "takes out"
    LOAN }o--|| COPY : "is for"
    MEMBER {
        int member_id PK
        string name
    }
    LOAN {
        int loan_id PK
        int member_id FK
        int copy_id FK
        date due_date
    }
    COPY {
        int copy_id PK
        string shelf
    }
NotationSay it like this
Chen: one member takes out N loans, and every loan takes part.
Crow's foot: each member takes out zero or many loans. Each loan is taken out by exactly one member.

How is a weak entity drawn in Chen and in crow's foot?

Chen's 1976 paper draws a weak entity as a special rectangular box, and textbooks draw it with a double border and its identifying relationship as a double diamond. Crow's foot has no special shape: the weak entity's primary key includes the owner's key, and the line is solid.

A weak entity in Chen notationbuilding_idroom_no1NBUILDINGROOMhas
Chen: ROOM is a weak entity, identified through has. The dashed underline marks room_no as a partial key.
A weak entity in crow's foot notation: ROOM takes BUILDING's key into its own primary key and the line is solid
Crow's foot: the same rule shows up as building_id inside ROOM's primary key. Rendered with Mermaid 11.17.2 from the code below.
erDiagram
    direction LR
    BUILDING ||--|{ ROOM : has
    BUILDING {
        int building_id PK
        string name
    }
    ROOM {
        int building_id PK, FK
        int room_no PK
        int seats
    }

Should you use Chen or crow's foot notation?

Use the notation the question or your course asks for. If you are free to choose, pick by purpose.

Use Chen whenUse crow's foot when
The task is a conceptual model: what exists, before any tablesThe task is a logical or physical model that becomes tables
You need to show attributes as separate shapes, including multivalued and derived onesYou need foreign keys, data types and optional versus mandatory on each side
Your textbook or exam is in Chen (most database theory courses)You use a database design tool or Mermaid

More detail on each: Chen notation and crow's foot notation.

How do you convert a Chen diagram to crow's foot?

Work in three steps. Every Chen rectangle becomes a box, every diamond becomes a line or, if it is many to many or has attributes, a box of its own.

Step 1

Boxes and attributes

Turn each rectangle into a box and move its ovals inside as rows. Underlined key ovals become PK rows.

Step 2

Diamonds to lines

A 1:N diamond becomes a line with a bar at the 1 side and a crow's foot at the N side. A double line on the N side becomes a bar as the minimum; a single line becomes a circle.

Step 3

M:N diamonds and foreign keys

An M:N diamond becomes an associative box with two lines. Then add a foreign key at every crow's foot end.

The library model in crow's foot notation: three boxes with attributes inside, two lines with marks at the ends
The converted library. Rendered with Mermaid 11.17.2 from the code below.
erDiagram
    direction LR
    MEMBER ||--o{ LOAN : "takes out"
    LOAN }o--|| COPY : "is for"
    MEMBER {
        int member_id PK
        string name
    }
    LOAN {
        int loan_id PK
        int member_id FK
        int copy_id FK
        date due_date
    }
    COPY {
        int copy_id PK
        string shelf
    }

Draw this in the editor → Opens ChartCraft with this description filled in: “Crow's foot ER diagram for a library: a member takes out zero or many loans, each loan is for exactly one copy, a copy is lent in zero or many loans. Show attributes and keys.”

Which mistakes come from mixing Chen and crow's foot?

Students who learn both notations in one course tend to carry symbols from one into the other.

1. A diamond on a crow's foot line

Loses marks

Diamond plus crow's foot

Correct

Crow's foot only

One notation per diagram. A diamond with 1 and N already says one to many.

2. The N written at the wrong end

Loses marks

N next to MEMBER

Correct

N next to LOAN

In Chen, as in crow's foot, the many mark goes on the side of the entity there are many of: one member, N loans.

3. Foreign keys drawn as Chen ovals

Loses marks

An FK oval on LOAN

Correct

The relationship carries it

In a Chen conceptual model the relationship diamond stands for the link. Foreign keys appear only when you map it to tables.

Can you answer these five Chen vs crow's foot questions?

Each question compares the two notations. Answer, then open the worked answer.

Question 1. Which notation shows whether a relationship is optional without any extension?

Worked answer

Crow's foot. The outer mark at each end is a circle (zero) or a bar (one). Chen's 1976 notation shows only the maximum.

Question 2. Convert this Chen fragment to Mermaid: DEPARTMENT, a diamond employs, EMPLOYEE, with 1 at DEPARTMENT and N at EMPLOYEE, single lines.

Worked answer

Single lines mean partial participation, so both minimums are zero: DEPARTMENT |o--o{ EMPLOYEE : employs. If the textbook draws a double line at EMPLOYEE, every employee belongs to a department and the left end becomes two bars.

Question 3. Where do attributes go in crow's foot notation?

Worked answer

Inside the entity box, one row each, with PK, FK or UK beside the keys.

Question 4. How does crow's foot show what Chen shows with a double rectangle?

Worked answer

It has no special box. The weak entity's primary key includes the owner's key and the line is solid (identifying).

Question 5. STUDENT and COURSE are joined by a Chen diamond enrols with M and N and an oval grade. What is it in crow's foot?

Worked answer

An associative entity ENROLMENT holding grade, with STUDENT ||--o{ ENROLMENT and COURSE ||--o{ ENROLMENT. The two crow's feet both point at ENROLMENT.

Questions

What is the difference between ERD crow's foot vs Chen?

Chen uses diamonds for relationships, ovals for attributes and 1, N, M on the lines. Crow's foot uses plain lines, attributes inside boxes and marks at the line ends that show both minimum and maximum.

Crow's foot notation vs Chen: which is better?

Neither in general. Chen suits conceptual models in database courses. Crow's foot suits models that become tables, because it shows keys and optionality.

Is Chen notation still used?

Yes, mainly in database textbooks and exams, where it teaches the conceptual model before tables.

Does Chen notation show minimum cardinality?

Not in Chen's 1976 paper, which writes only 1, m and n. Textbooks add a double line for total participation or (min,max) pairs.

Can Mermaid draw Chen notation?

No. Mermaid's erDiagram draws crow's foot notation only. Chen diagrams have to be drawn by hand or in a general diagram tool.

How do you show attributes in crow's foot notation?

As rows inside the entity box, each with a type and a name, and PK, FK or UK beside the keys.

Sources

The rules and names on this page were checked against these documents.

Related references

Describe the entities in plain English. ChartCraft puts the right marks on every line.

ER diagram generator →