This simple calculator automatically compares the price per kilo or liter of two products. You just need to enter the weight/volume and price of each, and it displays which is proportionally cheaper.
This is useful because, in the market, packages often don't weigh the same (for example, 900g and 500g), making it difficult to compare just by looking at the label price.