My customers always wanted a fixed price. Too often I misjudged or miscalculated.
Either I earned too much or too little. At some point I took a fixed price as a basis and put my estimates on it so that I wouldn't make any more losses.
For example: 4 hours + estimate
Today I am employed again and do the stuff only besides.