An artist can’t price her work based on how many hours she spent at the easel.
The software developer can’t price their app based on how many hours he spent at the terminal.
The soft drink producer can’t price the drink in the vending machine based on how many hours it took to build the can, mix the liquids, fill the can, store it, deliver it, and place it in the machine.
All of these are priced based on (perceived) value to a customer willing to purchase.
Whenever you’re making stuff, remember that it’s not about how much time you put in. It’s about how much value you’re providing.