Two-dimensional (2D) materials have promising applications in optoelectronics, photonics, and quantum technologies. However, their intrinsically low light absorption limits their performance, and potential devices must be accurately engineered for optimal operation. Here, we apply a transfer matrix-based source-term method to optimize light absorption and emission in 2D materials and related devices in weak and strong coupling regimes. The implemented analytical model accurately accounts for experimental results reported for representative 2D materials such as graphene and MoS 2 . The model has been extended to propose structures to optimize light emission by exciton recombination in MoS 2 single layers, light extraction from arbitrarily oriented dipole monolayers, and single-photon emission in 2D materials. Also, it has been successfully applied to retrieve exciton-cavity interaction parameters from MoS 2 microcavity experiments. The present model appears as a powerful and versatile tool for the design of new optoelectronic devices based on 2D semiconductors such as quantum light sources and polariton lasers.