If you are affecting anyone else with this project (does the ditch come from other property, & continue on to other property?) then I would be _real_ careful to get the proper permits to do this. You could have one heck of a lawsuit if you create a dam & flood out your neighbors. Some ditches look like they never carry more than a couple inches of water, but are needed every few years to carry massive flows, and if you abort that, you are in trouble.
I'm sure you are doing the right thing, only mentioning this. Here in Minnesota, you can't change a man-made ditch because they are all community owned & maintained, and you can't change a natural creek because they are natural wetlands that can't be touched.
So your project would just be impossible without doing a lot of red tape first, & you would be told exactly how big a tile to use.
In any event, I'd be real scared to just 'guess' at how big a tile to use, unless you have lived there a quarter century & know just how much water flows there in bad times.
Just my experience.
--->Paul