Of course, we'll use Maxima leader material, since it is stiff, and our favorite. Variables are broad. The fact is, you keep changing things until you get the system to present itself the way you want. The suggestions which follow on this page are a starting point. Generally, more butt will help straighten the leader, whereas more tippet will collapse the terminal end of the leader.
Practice indeed makes perfect.
Here's another, simpler formula for leader design. Put the leader to the casting test, and adjust according to presentation. Large, sectionally dense, or wind-resistant flies may require shorter or stiffer tippets. Small flies may require a smaller diameter or longer tippet for proper presentation. Thinner tippets will allow flies to sink faster.