There is a lot of not quite right information posted above. But what ceejay and BonTong posted is correct. Get a 60 day tourist visa from the USA and you can extend that by 30 days in Thailand at Immigration. And you may be asked to show 20,000 Baht or equivalent in US Dollars upon arrival so be prepared for that and there are no ATMs prior to Immigration. So bring the cash with you.