Kingdom calculator