Assuming that your raised garden bed is 17 inches tall, you need 45 cubic feet, or 1.2 cubic yards of soil. If there is 1.5 cubic feet per bag of soil, you would need 30 bags of soil. For more measurements regarding different configurations of your raised garden beds, check out this article.