It is like any other business, there is your time, electricity, the cost of paying for the machine, maintenance, threads, computer programs for some, classes paid for/more in the future, batting, pantograms, other supplies, etc....
After factoring all of this in, it is no different than any other business in the way they calculate their prices :D:D:D