The tourist visa allows you to stay for up to 3 months per entry, spending no more than 180 days/year in Saudi Arabia. If you leave the country past your visa period, you shall pay a penalty of SAR 100 per day.