Track up to 30 days in South Africa per continuous visit. Use this rule only if you are permitted to stay for 30 days. Always follow the expiry date and conditions of your entry permission. Re-entry does not guarantee a fresh 30-day allowance. Extensions and any annual limits are not tracked by this rule.
https://www.dha.gov.za/index.php/immigration-services/exempt-countries