Let the cost price be CP.
The selling price after a 20% discount is 504. Therefore, the marked price MP can be calculated as:
MP=1−0.20504=0.80504=630.
Since a profit of 5% is earned, we have:
SP=CP+0.05⋅CP=1.05⋅CP.
Setting the selling price equal to the selling price formula gives:
1.05⋅CP=504.
Thus,
CP=1.05504=480.
Now, the difference between the marked price and the cost price is:
MP−CP=630−480=150.
The marked price is ₹ 150 more than the cost price.