Buying is one cost, owning is another
Total cost of ownership is a way of counting the direct and indirect costs of a product or service, not just the amount paid at the till. The idea is that the cost of owning something is often much more than the cost of getting it. A pet that was free to adopt still needs food and care, and a car needs fuel, insurance and maintenance.
This is not a reason to avoid buying things. It is just a more complete picture to make a choice with.
A made-up comparison
Imagine two printers, with invented round numbers. Printer A costs 50 to buy and each refill of ink costs 30. Printer B costs 90 to buy and each refill costs 15. You expect to need 4 refills.
Printer A: 50 + (4 x 30) = 170. Printer B: 90 + (4 x 15) = 150. The cheaper printer on the shelf costs 20 more over the same use.
With only 1 refill, the picture flips: A is 80 and B is 105. So the answer depends on how much you expect to use something, which is worth thinking about before comparing.
Questions to ask
What will it need to keep working (refills, batteries, subscriptions, servicing)? How long do I expect it to last? How often will I use it? Then add up the costs over that time and set the totals side by side. Real prices change, so use the ones on the seller's page on the day you compare.
