Entity
An entity: a kind of thing the database keeps records about, such as orders, employees or products. In Chen’s notation and the textbooks that follow it, an entity is a rectangle with its name inside.
Easily confused with
How to read it
The rectangle stands for the whole set of things of one kind, not for one of them: “Order” means every order, and each individual order is an instance of the entity. Peter Chen’s 1976 paper, which introduced the entity-relationship diagram, drew each entity set as a rectangular box and each relationship as a diamond joined to the boxes by lines. A single-line rectangle is a regular, or strong, entity; a rectangle drawn with a double line is a Weak entity.
Also searched as: entity symbol, er diagram entity, strong entity.
Look-alikes
A Weak entity has a second rectangle inside the first. A rectangle on a flowchart is a process, a step that does something, while an entity is a thing the data describes. A UML class is also a rectangle, divided into compartments for its name, attributes and operations.
Differences by textbook
In Chen notation as Elmasri and Navathe draw it, attributes sit outside the rectangle in ovals. Silberschatz, Korth and Sudarshan’s Database System Concepts lists the attributes inside the entity rectangle instead and underlines the primary key. Crow’s foot diagrams also put the attributes inside the box, and Richard Barker’s notation draws entities as rectangles with rounded corners.
Read next
- Next in ER diagram symbolsWeak entityA weak entity: a kind of thing that can only be identified through another entity it belongs to, such as the items on an order. It is drawn as a rectangle with a double outline.
- The same shape in Accessibility symbolsClosed captioning symbol (CC)CC means closed captioning: the dialogue and other sounds of a programme shown as text on screen, which viewers can turn on or off. It is mainly for people who are deaf or hard of hearing.
More ER diagram symbols
The same shape elsewhere
Browse symbols drawn with letters and numbers or squares and rectangles.
Sources
- The Entity-Relationship Model: Toward a Unified View of Data, Peter Pin-Shan Chen, ACM Transactions on Database Systems 1, no. 1 (March 1976): 9–36, Association for Computing Machinery (copy hosted by California State University, Bakersfield), Section 3.1, p. 19
- A Practical Introduction to Databases: 2.2 Entity-relationship diagrams, Christopher Painter-Wakefield, 2022, Runestone Academy, 2.2.1.1 Entities
- Data Modeling Using the Entity-Relationship (ER) Model (chapter 3 slides), Ramez Elmasri and Shamkant B. Navathe, Fundamentals of Database Systems, 2016, Pearson, course CS 448, Purdue University, Slide 3-18, Displaying an Entity type
- Database System Concepts, 7th edition, chapter 6 slides: Database Design Using the E-R Model, Abraham Silberschatz, Henry F. Korth and S. Sudarshan, db-book.com, Slide 6.12, Representing Entity sets in ER Diagram
- Entity-Relationship Diagram (CMSC 461 lecture notes), Spring 1999, University of Maryland, Baltimore County, Computer Science and Electrical Engineering, Rectangles
- Richard Barker (data modeling notations), David C. Hay, 1999, Essential Strategies, Inc., Entities and attributes
- A Practical Introduction to Databases: 2.4 ERD alternatives and variations, Christopher Painter-Wakefield, 2022, Runestone Academy, 2.4.1 Crow’s foot notation
Researched, edited and approved by Rory Hansen before publishing. Last reviewed October 9, 2026. How we research
Added .