| ratings | 
| Overall NDTV Rating | Read Review | Read Review | 
| Design Rating |  |  | 
| Display Rating |  |  | 
| Software Rating |  |  | 
| Performance Rating |  |  | 
| Battery Life Rating |  |  | 
| Camera Rating |  |  | 
| Value for Money Rating |  |  | 
| key specs | 
| Display | 6.40-inch | 5.50-inch | 
| Processor | MediaTek Helio P65 | octa-core | 
| Front Camera | 20-megapixel | 5-megapixel | 
| Rear Camera | 48-megapixel + 8-megapixel + 5-megapixel + 5-megapixel | 12-megapixel | 
| RAM | 6GB | 4GB | 
| Storage | 128GB | 32GB | 
| Battery Capacity | 5000mAh | 3600mAh | 
| OS | Android 10 | Android 6.0 | 
| Resolution | 1080x2400 pixels | 1440x2560 pixels | 
| general | 
| Brand | Samsung | Samsung | 
| Model | Galaxy A31 | Galaxy S7 Edge | 
| Release date | March 24, 2020 | February 1, 2016 | 
| Launched in India | Yes | Yes | 
| Form factor | Touchscreen | Touchscreen | 
| Dimensions (mm) | 159.30 x 73.10 x 8.60 | 150.90 x 72.60 x 7.70 | 
| Weight (g) | 185.00 | 157.00 | 
| Battery capacity (mAh) | 5000 | 3600 | 
| Removable battery | No | No | 
| Fast charging | Proprietary | Quick Charge 2.0 | 
| Wireless charging | No | - | 
| Colours | Prism Crush Black, Prism Crush Blue, Prism Crush White | Black, White, Gold, Silver, Pink Gold, Black Pearl, Coral Blue | 
| display | 
| Screen size (inches) | 6.40 | 5.50 | 
| Touchscreen | Yes | Yes | 
| Resolution | 1080x2400 pixels | 1440x2560 pixels | 
| Aspect ratio | 20:9 | 16:9 | 
| Protection type | - | Gorilla Glass | 
| Pixels per inch (PPI) | - | 534 | 
| hardware | 
| Processor | 2GHz octa-core (2x2GHz + 6x1.7GHz) | octa-core (4x2.3GHz + 4x1.6GHz) | 
| Processor make | MediaTek Helio P65 | - | 
| RAM | 6GB | 4GB | 
| Internal storage | 128GB | 32GB | 
| Expandable storage | Yes | Yes | 
| Expandable storage type | microSD | microSD | 
| Expandable storage up to (GB) | 512 | 200 | 
| camera | 
| Rear camera | 48-megapixel (f/2.0) + 8-megapixel (f/2.2) + 5-megapixel (f/2.4) + 5-megapixel (f/2.4) | 12-megapixel (f/1.7, 1.4-micron) | 
| Rear autofocus | Yes | Phase detection autofocus | 
| Rear flash | Yes | Yes | 
| Front camera | 20-megapixel (f/2.2) | 5-megapixel (f/1.7, 1.34-micron) | 
| software | 
| Operating system | Android 10 | Android 6.0 | 
| Skin | One UI 2.1 | - | 
| connectivity | 
| Wi-Fi | Yes | Yes | 
| Wi-Fi standards supported | 802.11 a/b/g/n | 802.11 a/b/g/n/ac | 
| GPS | Yes | Yes | 
| Bluetooth | Yes | Yes, v 4.20 | 
| NFC | Yes | Yes | 
| USB Type-C | Yes | - | 
| Number of SIMs | 2 | 2 | 
| Infrared | - | No | 
| USB OTG | - | Yes | 
| Micro-USB | - | Yes | 
| Headphones | - | 3.5mm | 
| FM | - | No | 
| Wi-Fi Direct | - | No | 
| Mobile High-Definition Link (MHL) | - | No | 
| sim 1 | 
| SIM Type | Nano-SIM | - | 
| GSM/CDMA | GSM | GSM | 
| 3G | Yes | Yes | 
| 4G/ LTE | Yes | Yes | 
| sim 2 | 
| SIM Type | Nano-SIM | - | 
| GSM/CDMA | GSM | GSM | 
| 3G | Yes | Yes | 
| 4G/ LTE | Yes | Yes | 
| sensors | 
| Face unlock | Yes | - | 
| In-Display Fingerprint Sensor | Yes | - | 
| Compass/ Magnetometer | Yes | Yes | 
| Proximity sensor | Yes | Yes | 
| Accelerometer | Yes | Yes | 
| Ambient light sensor | Yes | Yes | 
| Fingerprint sensor | - | Yes | 
| Gyroscope | - | Yes | 
| Barometer | - | Yes | 
| Temperature sensor | - | No |