I was uninsured at the time, and at the end was given a bill for $18,000.
Gallbladder removal is the simplest major surgery that can be done on a person; it's a simple organ to remove, and rarely presents any challenges.
I could easily see surpassing that dollar amount for anything more complicated.
For comparison, the total cost to do the surgery in a developing nation (where I spent several years in my early 20s) would have been $300-400, according to friends there.