What khums is
Khums — literally “one fifth” — is an obligatory religious due, established in the Qurʾan (al-Anfāl 8:41) and in the practice of the Ahl al-Bayt (ʿa). Several categories of wealth carry khums: mined wealth, buried treasure, what is recovered from the sea, lawful wealth mixed with unlawful, and others.
For almost everyone, though, the category that matters is arbāḥ al-makāsib — the surplus of a year's earnings left over once the year's living costs have been met. That surplus is what the calculator reckons, and what the rest of this guide is about.