The first thing you need to figure out is what you want the UV sterilizer to do, i.e., clarification or Level One Sterilization (most people don't even consider Level Two Sterilization). Here is the definitive article on UV sterilization. It contains more information than you will want to know, but it is extremely informative. With UV sterilizers, flow rate and dwell/exposure time are critical. Turnover rate is also important.
http://www.americanaquariumproducts.com/AquariumUVSterilization.html
If you decide to go with Level One category C: On your 400 gallon tank you would need a flow rate of 400 to 600 gph. Going with a 1.5 turnover rate, you would need 30 - 40 Watts. Keep in mind that every UV sterilizer comes with its own recommendation for flow rate.
I really like my Lifeguard Aquatics UV sterilizer. I have a 40W UV sterilizer (max flow rate 1500 gph) on the return end of a FX6 filter (563 gph) on my 300 gallon tank. This combination gives me the turnover rate and wattage for Level One Sterilization. This would also work on a 400 gallon tank. The only downside is that the Lifeguard Aquatics UV sterilizers are tall - 39" so won't fit in a stand.
https://www.marinedepot.com/Lifegar...riums-Lifegard_Aquatics-RB5171-FIUVUU-vi.html
We have floor to ceiling picture windows and skylights in our living room, so our tank gets partial sunlight all day. We quickly developed a green water problem when the tank was set up.
With the UV sterilizer, the water cleared up Very quickly. The UV sterilizer is on the floor behind the tank.
Running a UV sterilizer is peace of mind for me. The gruesome injuries my fish get slamming into tank lids) heal very quickly. I keep no medications on hand any more for various diseases and ailments. I would not run a tank without a UV sterilizer. On my big tank system which is still a work in progress, I will be running two 120W UV sterilizers off the returns of two Ultima II 4,000s/ReeFloBarracuda Gold pumps. The flow rates, wattage, turnover rates all fit together for the Level One Sterilization I want on my big tank.
To rehash: decide what you want the UV sterilizer to do. Once you decide on the flow rate you want (the faster the flow rate, the more wattage you will need) you can calculate the minimal wattage you will need. In theory, if you went with the bare bones minimum - turnover rate of 1 which is a flow rate of 400 gph, you could get by with 20W, but that would depend on the UV sterilizer. Each brand has their own recommendations. Here's a 40W UV sterilizer for 260 gallons or less with a maximum flow rate of 262 gph.
https://www.bulkreefsupply.com/emperor-aquatics-smart-uv-40-watt.html
I'm beginning to remember why I went with the Lifegard Aquatics

.. my 40 W UV sterilizer is almost overkill compared to the emperor.