In modern finance the Black-Scholes formula is not used to "price" options in any meaningful sense. The price of options is given by supply and demand. Black-Scholes is used in the opposite way: traders deduce the implied volatility from the observed option prices. This volatility is a representation of the risk-neutral probability distribution that the markets puts on the underlying returns. From that distribution w…
Also, isn't it only used for European style options, not American?
Either way, as was pointed out, in reality BS is used as a deterministic one-to-one mapping between option prices and BS vols. Then, from market quotes (either as prices or as BS vols) a vol-surface is fitted (as a function of strike and expiry time), from which a stochastic process is fitted that correctly re-prices all these points (using a model such as "local vol" or "stochastic vol" or a combination of those two, or others), and then everything is priced of that.