Ordinal calculator.