The obligation
Zakat is one of the five pillars of Islam: a fixed share of wealth, given each year to those the Qur'an names. The command to establish prayer and give zakat comes together throughout the Qur'an (for example al-Baqarah 2:43), and at-Tawbah 9:60 names the eight kinds of people it is for.
The calculation
zakatable assets − debts due now = net wealth
if net wealth ≥ nisab: zakat = net wealth × 2.5%
Zakatable assets are cash and bank balances, savings, gold and silver at today's value, money owed to you that you expect back, and stock held for sale. Your home and the things you use (car, furniture, tools of your trade) are not counted.
Debts due now are what you must pay soon, not the whole of a long-term loan; subtracting all of a mortgage would wipe out zakat that is genuinely owed.
Where scholars differ
Gold or silver nisab. The threshold is the value of 85g of gold or 595g of silver. Silver is usually far lower, so more people owe zakat under it. Both are held; the calculator lets you choose.
A solar year. Zakat is due on wealth held for a lunar year. Some scholars hold that someone who keeps their zakat year by the Gregorian calendar should pay about 2.577% to cover the extra days.
Zakat al-Fitr in money. It is measured in food, one sa' (about 2.5kg of the staple) per person. Whether its value may be given in money instead is a long-standing difference of opinion.
Jewellery worn. Some schools exempt gold and silver jewellery in regular personal use; others count it. Enter it or leave it out according to the view you follow.
Further reading
For depth, two standard works: Yusuf al-Qaradawi's Fiqh al-Zakah, the most widely cited modern study of the subject, and AAOIFI's Shari'ah Standard on zakah, which sets out rules many Islamic financial institutions follow. Both treat the differences above at length.