Answer: 25%
Explanation:
Given: Selling price of each hat = $12
Profit on each hat = $3
To find: The percent of the selling price of each hat is the profit.
Ratio of profit to selling price =

The required percentage = Ratio of profit to selling price x 100

The profit is 25% of the selling price.