This is a silly and doomed to failure mindset for an aspiring entrepreneur. The question should be, how large is my addressable market and how much gross profit can I generate to cover my overhead.
Shopify Merchants are selling roughly $80B a year, at least 5x WooCommerce merchants. Paying Shopify 20% means you net at least three times higher monthly revenues over paying WooCommerce zero commission.
Apple charges devs 30%, but in return you get access to the worlds highest volume App Store paying developers $35B a year. You can also make iOS apps using an enterprise certificate, and distribute to tens of thousands with zero commission, but no one will ever find you on the store search, or give you public App Store ratings, you’ll never appear in a top category list or get featured by Apple, and any potential customers you reach will be leery of using your custom payments or subscription system, leading to lower paid conversions.