Thanks to “The Masked Singer,” Fox won another Wednesday in TV ratings, though the network settled for third place in total viewers due to its “Almost Family” debut.

With its “Chicago” shows, NBC was second in the key demo and first in overall eyeballs.

CBS premiered the third seasons of dramas “SEAL Team” and “S.W.A.T.” last night. With “Survivor” as their solid lead-in, CBS split NBC and Fox in terms of all-in audience size.

Also Read: 'Masked Singer': Panda Talks Judges' 'Totally' Wrong Guess, Asking for Costume With a 'Nice Booty'

Fox was first in ratings with a 1.4 rating/7 share in the advertiser-coveted 18-49 demographic and third in total viewers with an average of 4.9 million, according to preliminary numbers. “The Masked Singer” at 8 p.m. posted a 1.9/10 and 6.8 million viewers. At 9, “Almost Family” premiered to a 0.8/4 and 3 million viewers.

NBC was second in ratings with a 1.0/5 and first in viewers with 7 million. “Chicago Med” at 8 landed a 1.0/5 and 7.6 million viewers. At 9, “Chicago Fire” put up a 1.1/5 and 7.6 million viewers. “Chicago P.D.” at 10 had a 1.0/5 and 6 million viewers.

CBS and ABC tied for third in ratings, both with a 0.8/4. CBS was second in total viewers with 5.3 million, ABC was fourth with 3.8 million.

Also Read: Ratings: 'This Is Us' Tops Another Tuesday in Demo, 'NCIS' Stays North of 12 Million Viewers

For CBS, “Survivor” at 8 received a 1.2/6 and 6.5 million viewers. At 9, “SEAL Team” returned to a 0.7/3 and 5.2 million viewers. “S.W.A.T.” at 10 got a 0.6/3 and 4.1 million viewers.

For ABC, “The Goldbergs” at 8 had a 1.0/5 and 4.3 million viewers. At 8:30, “Schooled” got a 0.8/4 and 3.4 million viewers. “Modern Family” at 9 landed a 1.1/5 and 4.3 million viewers. At 9:30, “Single Parents” closed out the comedy block with a 0.8/3 and 2.9 million viewers. “Stumptown” at 10 finished off actual primetime to a 0.7/4 and 4 million viewers.

Univision was fifth in ratings with a 0.4/2 and in viewers with 1.3 million.

Telemundo was sixth in ratings with a 0.3/2 and in viewers with 1 million.

The CW was seventh in ratings with a 0.2/1 and in viewers with 886,000. Those were the averages of Night 1 of the network’s iHeartRadio Music Festival.