Management of excess fluid is a critical element during hemodialysis. Monitoring blood volume and measuring blood viscosity are two common techniques used to assess fluid overload. Optical methods allow for the precise quantification of hematocrit levels. In this research, a PPG sensor was employed to assess hematologic parameters. The ratio of the AC to DC portions of the LED signal is used to calculate hemoglobin concentration. The pulsatile and non-pulsatile characteristics of blood are represented by the AC and DC components, respectively. After the LED signal from the sensor has been processed, the straight-line approximation can be used to get the AC and DC components. There is a 94.63% degree of precision and an 89.17% rate of accuracy when measuring hemoglobin concentration. The concentration of hematocrit can be measured to within a precision of 94.63 percentage points and an accuracy of 88.82 percent. This study has the potential to be included into hemodialysis machines in the future, allowing these devices to detect changes in blood viscosity and blood volume in hemodialysis patients.