If in a 100 word article and you are using your keyword 10 times, your density will be 10%,google suggests writing articles naturally. Again, there is no perfect ratio, but placing your keywords naturally will be the best.