The margin calculator can compute the percentage of gross margin, gross profit, and markup, given cost and revenue.
Result: