Precision is the proportion of all the model’s positive classifications that are actually positive. It is mathematically defined as:
$$\text{Precision} = \frac{\text{correctly classified actual positives}} {\text{everything classified as positive}} = \frac{TP}{TP+FP}$$