With the development of information technology, the Internet has become an important channel of public opinion for expressing public interests, emotion, and ideas. Public emergency usually spreads via network. Due to the temporal and spatial flexibility and the information amplification of network, the opinions from different regions and background are easy to be represented as network public opinion, and have important impact on social and economic life. Thus, studying the formation mechanism of network public opinion has important theoretical and practical significance. Taking the formation process of network public opinion under emergencies as the research object, this paper first identifies the key factors influencing the formation of network public opinion, namely the internal characteristics (include individual education level, individual stubbornness, individual initial opinion, and so on) and external information of individuals (include external information intensity). Second, information intensity is introduced to describe the influence of external information feature on the formation of network public opinion. Individual education level, individual stubbornness, and individual initial opinion are analyzed to describe the influence of individual internal factors on the formation, and then its model is constructed. Through the simulation experiments, this paper analyzes the influence of external information intensity, individual education level, individual stubbornness, individual initial opinion, and other factors on the formation of network public opinion. The simulation results show that: (1) the greater intensity of public emergency reporting causes the easier formation of network public opinion; (2) the higher individual education level leads to the shorter time for completing the final formation and stable state of online public opinions, and after the formation of online public opinions, the opinion of the event is mainly neutral; (3) the greater individual's stubbornness makes the shorter formation time of online public opinion. When online public opinion reaches a stable state, the neutral opinion group dominates and firmly controls the development trend of public opinion; (4) the difference of opinions among individuals is the most important factor affecting the formation of network public opinion. Finally, the rationality and validity of the proposed model are verified by a real case. Compared with previous studies on the formation mechanism of network public opinion, this paper divides the formation process of network public opinion into three stages: individual information perception, individual decision