This application provides a method for obtaining a quantity of resource elements in a communication process and a related apparatus. The method includes: obtaining first information, where the first information includes at least one type of the following information: a downlink control information format, a configuration type of a demodulation reference signal, DMRS, a quantity of symbols occupied by the DMRS, a waveform, a radio network temporary identifier scrambling manner of downlink control information, a data channel type, a quantity of symbols occupied by a data block, and a position of a symbol occupied by the data block; and obtaining, based on the first information, a quantity, corresponding to the first information, of resource elements occupied by the DMRS, where there is a correspondence between the first information and the quantity of resource elements occupied by the DMRS. According to the method for obtaining a quantity of resource elements in a communication process and the related apparatus that are provided in this application, the quantity of REs occupied by the DMRS can be determined. This helps determine a TBS, and further helps ensure communication reliability.
展开▼