↓ Skip to main content
  1. Glossary/

nDCG

Normalized discounted cumulative gain: a search measure for graded relevance. Each result earns a gain from its grade, divided by a discount that grows with its rank. The total is divided by the total of the best possible order, so 1.00 means a perfect ranking.

A search returns a document that answers the question (grade 2) at rank 3 and a background document (grade 1) at rank 1. Swapping the two raises nDCG, because the better document then gets the smaller discount.