Carefully skim the cream off the top of your raw milk using a ladle, turkey baster, or measuring cup. Let the cream come to room temperature.
Pour the cream into your stand mixer and place a splash shield or towel over the top. Start on low speed and gradually move to high. The cream will first turn into whipped cream, then begin to break.
When it begins to separate, pause to scrape down the sides of the bowl with a rubber spatula. Continue mixing on high until the butter fully separates from the buttermilk.
Remove the butter from the whisk and pour the buttermilk into a storage container. Save it for baking.
Place the butter back into the mixer bowl and cover it with cold water. Use your hands to gently work the butter, refreshing the water until it runs clear.
(Optional) Move the butter to a clean bowl and press it gently with a wooden spoon to remove any last traces of buttermilk.
Add salt to taste or leave the butter unsalted. Shape it by hand, press it into a bowl, or use a butter mold for charm.
Work the butter with your fingers, almost like kneading dough, to get the remaining buttermilk out. Refresh your water with more fresh cold water as needed until the water is clear.
Homemade butter freezes well for several months. Wrap it in freezer paper and place it inside a zip top freezer bag.