Limestone is composed almost entirely of calcite which has the chemical formula CaCO 3. As a result, limestone is classified as ________. a mineral a rock both a mineral and a rock neither a mineral nor a rock because it is organic