this is a calculator that takes the "buy_price" and "sell_price" as json from the uexcorp api https://uexcorp.space/api/2.0/commodities
this calculator uses the general prices given under the commodities value.. however I am unsure whether the prices may vary from place to place