Let π be a commutative ring and πβπ be a prime ideal.
The heighthtβ‘π of π is the supremum of the lengths of strictly increasing sequences of prime ideals culminating in π
π0βπ1ββ―βπhtβ‘π=π
and the Krull dimensiondimβ‘π of π is the supremum of the height of all prime ideals.