Stainless steelUpdated:

304 vs 316 stainless steel by the sea
Both are austenitic stainless steels, both are sold for railings, gates and fittings, and both can stain within a season if they are put in the wrong place. What decides between them is the site: salt, sun, shelter and how often someone washes the metal.
Text by the Tideline editors · general guidance, not a site survey
What the two grades are
Type 304 (EN 1.4301, UNS S30400) and Type 316 (EN 1.4401, UNS S31600) dominate architecture, in the words of the International Molybdenum Association. Both contain iron, chromium and nickel. By the sea, molybdenum is the difference that matters: IMOA's comparison chart adds it to 316 and every higher grade but not to 304, and it improves resistance to salt, that is chloride, corrosion. IMOA ranks grades by their Pitting Resistance Equivalent number, calculated from the chromium, molybdenum and nitrogen in the steel; 316 sits above 304 on that scale.
Both are austenitic. IMOA describes the austenitic grades as non-magnetic with very good formability, so a magnet will not tell 304 from 316. A mill certificate or the supplier's paperwork will.
Does 316 rust?
It can stain. IMOA's advice is plain: Type 316 with an appropriate finish can stay attractive in most corrosive applications with little or no manual cleaning, but in very corrosive ones it may need regular cleaning, or a more resistant grade may be needed. For 304, it says the grade suits most interior and exterior uses with low corrosion risk, and in moderately corrosive places may be acceptable if a smooth finish is chosen and the metal is cleaned regularly. Brown marks on a coastal rail are usually this kind of surface staining; the page on tea staining deals with them.
Where 304 is enough
IMOA's selection system adds points for pollution, coastal salt, weather, design and washing. A total of 0 to 2 points to 304/304L as generally the most cost-effective choice. On the UAE coast that total is hard to reach. A spot 30 m to 1.6 km from salt water scores 3 for salt alone, and hot, humid air with little rain scores 2 more. Inland, the picture changes: more than 16 km from the sea, in dry air with humidity below 50 %, and with a smooth finish, a gate or a handrail can come out at 2 or less.
Where 316 is the starting point
A total of 3 points to 316/316L, or the ferritic grade 444, as generally the most cost-effective choice. A total of 4 points to 317L or something more resistant, and 5 or more to duplex and other high-alloy grades, set out on the page on duplex and higher grades. For a balcony a few hundred metres from the beach, washing does much of the work. Using the same balcony as an example: moderate city traffic (2), 400 m from the sea (3), hot humid weather (2), a smooth finish (minus 1) and no washing gives 6. Washing at least monthly takes 3 points off and brings it to 3, the 316 line. The finder does this arithmetic for your answers.
Finish and detail matter as much as grade
IMOA treats a finish as smooth at a roughness of Ra 0.5 µm or less: contaminants grip a rough surface, while rain and hand washing clear a smooth one more easily. It adds points for sheltered spots and crevices, for horizontal surfaces, and for a brushed grain that runs sideways and holds dirt. Its list of ways to reduce the score is practical for anyone ordering a rail: expose parts boldly to rain, choose smooth finishes, set the grain vertical, avoid horizontal ledges, seal or remove crevices, and design so that washing is easy.
Two more points from the same brochure. If welded sections are heavier than about 6 mm, use the low-carbon L version (304L, 316L) to keep corrosion resistance at the weld. And a sulphur content no higher than 0.005 % improves resistance to pitting.
The UAE expert note
IMOA lists hot, humid places with salt or pollution and very little rain among its particularly corrosive conditions, and asks for a stainless steel corrosion expert there. Much of the UAE coast fits that description, so a large order for a seafront building deserves that conversation, and ideally a sample of the chosen steel and finish left on site for a few months first.