An electronic device according to one aspect includes a blood flow data acquisition unit configured to acquire information related to blood flowing inside a living body as blood flow data based on Doppler shift, a power spectrum calculator configured to calculate a power spectrum of the blood flow data based on the blood flow data, and an outline index calculator configured to calculate an outline index from the power spectrum. An electronic device according to one aspect further includes an estimator configured to estimate viscosity of the blood based on the outline index, and the estimator is configured to display an estimation result of the viscosity of the blood on a display.