1 wire is white and the other 3 are black.
Ceiling junction box wiring guidelines.
These electrical casings typically come in two sizes.
Multiply the total by 2 when working with 14 gauge wire or by 2 25 when working with 12 gauge wire.
Most boxes have nibs or marks to help you align the box for use with standard 1 2 in.
Octagon and standard size round boxes range from 1 1 2 to 3 inches deep and are the standard box for ceiling or wall mounted light fixtures weighing up to 50 pounds.
Coming from the ceiling are 2 sets of wires.
Three wire boxes measuring 2 inches by 3 inches with a depth of 2 5 inches and boxes with five or more wires that measure 2 inches by 3 inches and have a depth of 3 5 inches.
They provide much more room for wiring than shallow round pan boxes and can be used as junction boxes.
Multiply the total by 2 for 14 gauge wire and 2 25 for 12 gauge wire to get the minimum box size required in cubic inches.
Then select the largest ground wire and add 2 if it is a 14 gauge wire to 2 25 if it is a 12 gauge wire.
To find the right size junction box in cubic inches count the number of wires entering the junction box.
Locate the black red hot wire and connect it using the wire twist locks to the black wire of your electrical wire to install.
Steel box capacities are listed in the electrical code.
Metal boxes are suitable for surface mounted installations using metal conduit.
The white wire is the only hot one which i checked with a voltage checker i tried pretty much every combination possible to hook up a 2 light ceiling fixture in the hallway and none are.
This rule is demonstrated nicely by wall switches receptacles and standard light fixtures all of which require a junction box to mount the device and house the wiring connections.
At the junction box locate the main wire coming from the main breaker box and disconnect any wire nuts in place to reveal the copper ends of those wire.
Find the joists near where you want to install a ceiling electrical junction box by sliding a stud finder over the ceiling.
Plastic boxes have their volume stamped inside.
Often known as a junction box this metal or plastic box includes a cover to protect the wiring within and protect you from the wiring.
The fixture box you are referring to has one 2 wire cable providing the line or power in two 2 wire cables that take power to other locations and one 2 wire that is used for the switch which explains why you see a white wire attached to the other black wires.
Instructions shut off the power and test the wires remove a knockout metal box only clamp each cable mount the box secure the cables join the wires finish the job.