Calculate gross profit, net profit, profit margin, and markup from revenue, cost, and expenses.
Profit margin is gross profit divided by revenue. Markup is gross profit divided by cost. Net profit subtracts other expenses from gross profit.