Determine how much cacti potting soil you need by checking the pot in which your cactus will be growing. Its capacity is often printed on its label or stamped on the bottom of the pot. Common sizes include 1 quart, 1/2 gallon and gallon-sized pots. For the sake of this example, we'll pretend your pot holds a gallon.
Divide the capacity of the pot by two. In this example, that would be 1/2 gallon. Pour a measurement of potting soil equal to this amount into a bucket. If you don't have potting soil on hand, you can substitute outdoor garden soil, although this is inferior. If you're using outdoor soil, sterilize it first by layering an inch or two of it in a baking pan and cooking it at 160 degrees Fahrenheit for 30 minutes.
Add an equal part of coarse sand -- in this case, 1/2 gallon of sand.
Stir the potting soil and sand with a spoon or similar instrument until the two ingredients are well mixed.
Test the resulting cacti mix to make sure it's suitable for your cactus. Sprinkle water on the mixture until it's evenly moist. Grab a handful of the mixture and squeeze it, then open your hands. The potting mix should fall apart. If it retains a clumpy form, add more coarse sand until it falls apart when moistened and squeezed.