You’re in a room. It’s nearly pitch black. The music is on point. Everyone around you is impeccably dressed. And they all, like you, made a reservation to be in this room. A few years ago, if you were asked to name the setting we just described, you would have a said the hottest new restaurant or club, and that would have been the end of it.

Today, there’s another equally viable option to throw into the mix: boutique fitness class.

The current workout scene is a far cry from the scenario you would have described not even 10 years ago (re: baggy T-shirts and old gym shoes pounding the treadmill in a massive, television-filled gym). At some point during the past decade, exercise went from a $40 monthly membership that gained you access to a cardio, strength-training, and group fitness class-filled facility.

Now, the average price of a barre class at Physique 57 is $31 to $36. Yoga at Exhale will cost you $37 to $40. A ride with SoulCycle ranges from $30 to $40. In short, being fit can very easily translate into being broke. How did it get so expensive to get a sweat session in?

———

The environment

The environment, the energy, the experience — working out at your local barre studio is not the same as working out at your local gym. It just feels different. There’s no turnstile to walk through, no fighting for the machine you want. Instead, you check in by name and get settled into your reserved spot, hassle free. And have you noticed they’re all dark? Unlike group fitness classes in gyms, premium fitness classes are almost all done in pitch darkness. That may not be the reason to pay $30 for a single yoga session, but it certainly does add to the appeal for the vast majority of the population, who doesn’t want to feel judged for falling out of headstand. Plus, the classes are small; it’s a more intimate setting — similar to private or personalized training sessions that afford you more person-to-person attention. This sort of environment fosters a sense of community.

———

The studio, the equipment, and the instructor

What else goes into the fitness class price tag? The studio, the equipment, and the instructors — usually in that order. Let’s break it down. Real estate is expensive. Real estate in the trendy, affluent neighborhoods that frequent this type of workout experience is really expensive. When you’re a large corporation like LA Fitness or Gold’s Gym, high real estate costs are built into your budget. When you’re an independent, privately owned company with a handful of studios, you take those high overhead costs very seriously.

And for Spin, rowing, Pilates, and any other kind of studio that requires a lot of hardware, that equipment doesn’t come cheap. Pilates reformer machines cost about $7,000 apiece. A dozen of those will add up.

Finally, the instructors. With a $30-plus price tag per class, you expect to get the best of the best. Which is why companies like SoulCycle and OrangeTheory Fitness spend a lot of money recruiting the cream of the crop. At SoulCycle, that means lengthy auditions (yes, auditions), followed by eight weeks of classroom training and two weeks of community rides. While the companies are pretty tight-lipped about the exact wages for their instructors, most studios pay between $55 and $150 per class, which is higher than the going rate at most gyms. Of course, experience and bonuses for sold-out classes can raise that number too.

———

The Workout

This seems obvious. Yes, you’re paying for the workout, but the theory behind the pricy boutique workouts is that you work harder in a class you know you’re paying a good amount of money for. Similarly, you’re less likely to cancel on a workout you shelled out your hard-earned cash for than one you can miss without consequences — that alone is enough to explain the premium (for some people). And if you thought variety was the spice of life, apparently you were wrong. The other point often cited for high prices is that people are willing to pay more for focused workouts, ones specifically targeted to their goals. (We’re still a little fuzzy on how paying more gets you less, but more on that in the final, paramount point below.)

———

The Luxury

The bottom line is fitness has become a luxury commodity. That’s not to say that you get a better workout at SoulCycle than you do at 24-Hour Fitness, but you’re paying for something entirely different. In today’s state of athleisure showing at fashion week, designer sneaker collaborations selling out in seconds, and $10-a-pop juice bars on every corner, fitness is no longer a mundane activity — it’s a luxury.

These elite fitness studios bank on our tendencies to equate price with value, and we do (at the least enough of us do). It turns out the higher rates aren’t a deterrent — they’re part of the draw.

The prices; the small, reservation-only classes; the trendy, branded apparel — it all goes back to exclusivity, to luxury. The demand for luxury is everywhere. Once upon a time, no one dreamed of the $5 cup of coffee, but here we are sipping cold brew and pour-over coffee. Even beer’s gone fancy. And truthfully, the answer to the question, “Why did working out get so expensive?” is people will pay for it. It’s as simple as supply and demand. If people weren’t paying $35 to pedal on a stationary bike for 45 minutes, these boutique fitness studios simply wouldn’t exist.

———

Get the latest celebrity beauty news, runway trends, health and fitness tips, as well as product suggestions from the experts at Byrdie.com.