I recently pulled ran electricity to my barn, which is 400 feet from the rear of my house.
Nassau National Cable is 100% legit and has great prices. Tip. I went directly to their web page and put items in my cart and didn't purchase them right away. And they emailed me a coupon for 5% off at the time. I not only ordered 400 foot of 4/0 4/0 4/0 2/0 for a supply line, I also ordered spools of #12 and #14 in all the necessary colors to run my circuits inside of the barn. Lastly, I rant my 4/0 to a junction box on the exterior of the barn and ran 3/0 THHN copper inside of the barn to the panel
Small tip! (Pros can correct me if I'm wrong) even though at lengths of 400-500 feet, voltage drops calculators say you can't pull 200 amps, I still used a 200 amp panel, mainly so the lugs on the main would accept the 3/0 copper cables. The boxes I looked at in the 100 amp range, had smaller lugs on the mains and I wasnt sure I'd he able to wrestle 3/0 copper into them.
Also, the 200 amp panel has more than enough room for future growth. As long as you understand the limitations of your wire and how many amps you can *realistically* pull... the 200 amp breaker will still be appropriate protection for a 4/0 sized cable.
Again, any professionals... feel free to correct me if I'm wrong.