Hehe - tried that a lot before. Allways just think about how much you need. I need about 2 grams worth of bud to get a good high. That equals 1 gram of great hash...or 20 grams of weak trim. But let's say we are using bud like you did - 1 gram dozes will be practical. You can eat two or more to get you to your level of exceeded comfort.
So let's say we have 10 grams of weed. You want that to be only like 10 small packet servings of butter - i'd say something like 300 grams of butter for your 10 grams.
Remember to use unsalted butter (the Danish brand Lurpak is GREAT) or use coconut oil which is probably the best oil to use since it contains only vegetable fat. (butter makes cakes better) But you might want to double so you use 20 grams of bud per stick of butter or so.
Here's how i do it - wrote an article a while ago:
making cannabutter
View attachment 1843594
You can even refine your butter by letting it simmer in clean water - when water is colored cool down to separate - repeat.
Hope this helps you get it better ;O)