Generally, in Spanish, nouns that end in -o are masculine. There are many exceptions:
nouns ending in -o that are shortened versions of regular feminine nouns:
other exceptions: