# Value Equality

*noun*

say it: **“VAL-yoo ih-KWOL-ih-tee”** **/ˈvæljuː ɪˈkwɑləti/**

Two separate objects counting as equal because they hold the same data.

## What is **value equality**?

**Value equality** means two separate objects are equal when their data is equal: two member cards that both say Downtown, 1042. Its opposite, **reference equality**, counts only the very same object. Dictionary keys need value equality, with a hash code made from the same data.

## In a sentence

- “A record has **value equality**, so a new card that says Downtown, 1042 finds the locker stored under the old one.”

Level: Journeyman · [More Software Development terms at this level](https://www.ask-codey.com/glossary?category=software-development&level=3)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/value-equality
