Here is a good way to get a rough estimate of the dosage in edibles if you were to infuse your own butter or oil, then use it in a recipe. But you want to try and get the % of thc as accurate as possible.
http://hempster.co/edible-dosage-calculator/
http://hempster.co/edible-dosage-calculator/