There are many reasons! You're the one making the sandwich at home and bringing it to your table, so you absorb the labor costs. And you're already paying for space, heat, light at your place whether you eat there or not, whereas the restaurant has to pay for these. Not to mention profits (why would they run a place if not to earn money?)
The only things that your place and a restaurant have in common are the ingredients; and while restaurants can maybe pay less because they buy in bulk, they also have to abide by health codes that don't apply to you; you can eat yesterday's meat if you want, but restaurants usually can't serve it to you.
So it's really unclear how restaurant food could ever approach the cost of meal made at home.
To give you an idea...it costs Papa John's less than $2 to make a large pizza.
You'll spend twice that at home just on the cheese. At supermarket prices, you'll easily spend 15 dollars recreating it at home.
Also, the hard part about making a Papa John's pizza from grocery store ingredients is finding ingredients that are crummy enough and in small enough quantities. ): It's easier to make a a big pizza with good cheese and fresh ingredients at home for $20-30 of ingredients. You would pay more than that for the equivalent at a restaurant when dining or delivery tax and tip are factored, especially.
Economies of scale do help restaurants, but only to the extent that they can pack their labor and other operating costs into the price and not lose money. Many restaurants have not survived because they couldn't attract a high enough percentage of customers to the higher margin items on the menu. So when someone orders out they are going to end up paying for the labor they're not spending, outside of unusual circumstances or the few money-printing carryout formats (like mass market carryout pizza.)
Food is not that expensive. The restaurant is not getting their materials much cheaper than people are at Costco.
What is expensive is good labor. Labor that wants to work a laborious, strenuous job, at very inconvenient hours. How are you going to convince someone to work at times when everyone else is out and having fun or having meals together at home as a family? Or getting ready for weekend trips? You have to pay them more to sacrifice.
The only reason this has not been a problem until now is there has been a big supply of labor willing to do that undesirable job at undesirable hours, so they had no negotiating power for higher wages.
It should be and is cheaper to cook your own food. Purchases are limited to need, meals are usually a tiny percentage of the overall purchase, cost does not include: rent, talent, fixed costs such as kitchens/tables/plates/etc, healthcare, marketing, etc.
Also, what one doesn't factor in is the cost of waste of food at home. You (the consumer) generally don't waste food when buying out.
How much does a 100 pack of the cheapest thin patties cost? A 100 pack of american cheese? A 100 pack of terrible buns? The only challenge is that most grocery stores aren't even stocking food so crappy, not that the food costs are considerably higher.
My budget is already shot.
We can discuss the system but its not a given. What is a given is the ingredients you use for your one meal at home should be cheaper than what it takes to make it at a restaurant. The inclusion of other humans to hire, manage, train, and then process, create, and discard the remainders of your order and clean alone should be indicative of that.
Also, good luck with your mcdonalds only diet. I'll stick with a balanced, healthy, home cooked diet myself.
Luckily for you, you can live without waste. You are the grand minority.
You're assuming the only thing that contributes to costs is the raw material. In reality, there's raw materials, labor, rent/mortgage on the space, taxes, and other costs including your initial investment and constant upkeep. Combine all of these and making a Sandwich at home is almost 100% cheaper (even if you shop at Whole Foods and only eat organic).
And comparing it with other countries is not exactly Apples to Apples comparison. In India or Singapore, almost all businesses cheat on taxes, labor is overexploited (more than the US), there's limited licensing or health oversight, and ingredients can get downright questionable. Those help a lot with lowering costs, but not feasible in US. (Or rather only McDonalds can achieve to some degree)
Name a single country where eating out is relatively (ie. Compared to wages) cheaper than the US...
Looking at McDonald's prices for Japan vs. USA, it's roughly the same, but the US has 20% higher wages making it relatively cheaper.
It is hard to compare apples to apples though; I don't like the typical American fast food and probably many don't like the food here. So even though it would be cheaper, if you would never go there...
The US has, in my experience, by far the cheapest restaurant experience in the world, relative to the average worker's wage. Of course I haven't been everywhere. Currently in Czech Republic and it's cheap by most standards but relative to wages on point with most western countries.
[1] https://japanhubdotcom.wordpress.com/2013/08/05/japan-eat-ba...
Eating out shouldn't have to be more expensive than eating in. And in many countries it isn't.
Restaurants benefit from scale that your kitchen doesn't.
If you were feeding a family of 150, your per-meal price would crater.
Of course a restaurant has to pay staff, so the numbers have to add up, but conceptually, there's no particular reason why a chicken sandwich at a restaurant should cost more than a chicken sandwich at home, as long as that restaurant is serving chicken sandwiches, chicken tacos, and chicken pasta all afternoon/evening.
Granted during covid and shipping shortages all bets are off.
And obviously even during non-covid times, restaurants can set their own prices, charge a 100x multiple for exclusivity, ambiance, etc.
But fundamentally there's no obvious reason why getting food at a restaurant needs to cost more than getting food at home, while still making the restaurant a profit that lets them pay salaries and sustain their business.