The fine depends on the number of days you have overstayed. The minimum charge is 500 Baht per day.  This goes to a maximum of 20,000 Baht for overstays of 40 days or longer.

The good news is that if your overstay is under 90 days and you  pay the fine  then leave the country then you won’t have any problem returning to Thailand at a future date.  There won’t be any black mark next to your name.

Overstaying is when someone resides in Thailand for a period exceeding the length of time they are permitted to do so by their visa or entry stamp.

It is your responsibility to ensure that you do not overstay.
Under 90 days MAX FINE 20.000 baht