Output: Gross profit and net profit are both measures of a company's profitability, but they are calculated differently.
Gross profit is a measure of a company's profitability from its core operations (selling products or services) while net profit takes into account all expenses and gives a more comprehensive picture of a company's overall profitability.