Markup and margin are not the same number. Enter your cost plus either a markup % or a sell price — get the other, plus true margin.
From your cost and either a markup or a sell price, get the other — plus true margin.