The problem is with taking Instacart's $3.99 delivery fee at face value. Last I checked (which was a year ago - they've probably lowered this) on top of that they charge 10-20% markup on each item, and they also pocket any savings from coupons / sales / bulk / rewards card discounts, which I imagine can run another 10%. It's in this situation where Instacart can plausibly meet your quoted $20 figure.