How would you write the formula for sodium perchlorate?

$N a C l {O}_{4}$
Perchlorate is a polyatomic ion that has a $1 -$ charge, and sodium has a $1 +$ charge. Therefore it's a 1:1 ratio, making it $N a C l {O}_{4}$.