Gypsum is a soft sulfate mineral composed of calcium sulfate dihydrate, with the chemical formula CaSO₄·2H₂O. It is widely mined and is used as a fertilizer and as the main constituent in many forms of plaster, drywall and blackboard or sidewalk chalk.