It is determined by the amount of work required for each operation. For example, if a tooth requires a filling that covers five sides of the tooth, is a molar, and the decay is too deep, filling it would be expensive due to the work and skill required. If the tooth is not damaged, has a substantial amount of decay, or requires extensive restorative treatment, a simple tooth extraction may be less expensive than having it filled.