Portions like AWS, Digital and 3P/FBA service revenues will have much higher margins than first party retail revenues (which is the most like Wal-mart revenues, except the margins are completely different due to no having brick-and-mortar stores.). Additionally, Amazon is a lot more international than Wal-mart so comparison is even harder.
All of this completely ignore the growth rates of these two companies.
How do you figure? Compare this for Amazon:
Amazon has separate retail websites for United States, United Kingdom & Ireland, France, Canada, Germany, Italy, Spain, the Netherlands, Australia, Brazil, Japan, China, India and Mexico. https://en.wikipedia.org/wiki/Amazon.com
To this for Walmart:
As of January 2014, Walmart's international operations comprised 6,337 stores[1] and 800,000 workers in 26 countries outside the United States. https://en.wikipedia.org/wiki/Walmart
And this map for Walmart: https://en.wikipedia.org/wiki/Walmart#/media/File:WalMart_in...
Diversified into lots of "nice to have" items. In a really bad economic downturn, Amazon would be wiped off the map. People would still be buying bread and milk at Walmart.
Yes, for certain commonly-consumed heavy or bulky goods, i.e. anything that's either mostly air (like toilet paper) or mostly liquid (like detergent) they aren't your best choice. That's not all goods by any means.
Also you're comparing the mileage of a bus (the UPS truck) to a passenger vehicle. The UPS truck is delivering goods for a hundred other people on his run today, the gas spent transporting your package is an absolutely insignificant fraction of that. If you're really worried about ~my carbon emissions~ then you should really be thinking about ditching that car and getting yourself to work on one of those 5 mpg busses.
In fact where I live Tesco recently raised their free-delivery minimum order threshold to try to encourage people to place larger, pre-planned orders.
Most of the stuff that you'd buy at a real-life grocery store doesn't make sense to order shipped from Amazon. Amazon as a replacement for WalMart only makes sense if you can wait a few hours for delivery and live in one of the selected areas for Fresh.
Thats more the market saying that the overhead of having stores, of having staff maintaining them, of maintaining a supply chain to stock them, and all the bureaucracy around that is not worth it. That just having a website and good distribution centers is enough, and Walmart thus has a lot of unnecessary overhead, especially when they have both the stores and their website.
There are still a lot of things Amazon does a poor job supplying, and having to pay $200 a year to get quick shipping is a severe stain on their practical use as a walmart surrogate for many people.
Amazon Prime (two-day shipping) is $99/year[0]. Are you referring to something else?
[0] http://www.amazon.com/gp/product/B00DBYBNEE/ref=gno_joinprml...
https://fresh.amazon.com/about
Free for Amazon Prime members! Through the end of September, all Amazon Prime members in eligible zip codes in the New York metro area can use AmazonFresh for free. Sign in with your Amazon account to get started. If you are not an Amazon Prime member, you can start your Amazon Prime 30-day free trial today. After September, you will need a Prime Fresh membership (an upgraded tier of Amazon Prime) to continue enjoying free delivery from AmazonFresh. You will not be automatically charged for Prime Fresh.
Walmart Net Income: $15bn Amazon Net Income: -$250mn
Despite that huge lead by Walmart in sales (5x), they're only left with about 3.2% of profit. Of course that's better than 0...but the interesting thing is how Amazon's value is predicated on what it can continue to build (as you've alluded).
The market disagrees. The market capitalization is set by what people are willing to buy and sell ownership of the company for. It is not set by the amount of revenue generated.
Amazon revenue: $89bn.
Amazon is only worth its current market cap if it can increase sales by at least 5x. Which it probably can, but it will take some years.
Wal-Mart is expanding into grocery stores, with their "Neighborhood Markets". (They mean big supermarkets, not convenience stores. Typical size is 45,000 square feet.) Wal-Mart has 40 square miles of floor space worldwide.