1 Introduction

Groundwater is the largest and most reliable source of safe water supply across the globe, and it is widely used for human consumption, agriculture and industries activities. According to estimates approximately, one-third of the population across the globe rely on groundwater for drinking [1,2,3]; however, out of total groundwater use 65% is used for drinking, 20% is used for irrigation and livestock, and rest 15% is used for mining and industrial activities [3, 4]. In recent past, rapid industrialization, unplanned urbanization, waste discharge and other demographic changes have increased the pressure on groundwater resources, both in terms of its quantity and quality [5,6,7]. Groundwater quality is mostly govern by the natural process as it largely depends on regional geology and aquifer mineral compositions. During groundwater development when water moves through its flow path it interacts with aquifer minerals through various hydrogeochemical processes such as oxidation–reduction, weathering, precipitation, dissolution, ion exchange [6,7,8,9,10]. In addition, natural factors including residence time, rock-water interaction, soil gas interaction, zone of recharge-discharge, intermixing of water, climatic condition and surface topography also play an important role in determining the ionic species in groundwater [9,10,11]. Apart from these natural factors, anthropogenic activities such as over-withdrawal of groundwater, unplanned land use land cover, leaching of fertilizers, herbicides, pesticides, agricultural runoff and industrial discharge may also alter the groundwater composition [12,13,14]. Groundwater is renewable in terms of quantity as it is replenished annually by precipitation; however, the change in climatic condition along with the overexploitation of groundwater has altered the natural cycle resulting decline in groundwater table [15].

The optimal quality and quantity of groundwater is most important in determining its suitability for various human use. However, at the same time assurance of groundwater quality is a major challenge and it needs combined efforts [16, 17]. To understand the quality of groundwater, methods such as chemometric analysis, stable isotopes, hydrogeochemical modeling, trace elements, redox indicator and mineral phase equilibrium, geochemical modeling have been extensively used across the globe [6, 9, 11, 13]. However, to summarize the overall water quality from a large number of water quality parameters water quality index (WQI) was developed [18]. WQI is a numeric method which integrates a large number of parameters in single dimensionless number by selecting and weighting the water quality parameters and aggregating them on basis of their significance [16, 17, 19]. Although WQI is widely used as an effective indicator of overall groundwater quality, it has been also modified as drinking water quality index (DWQI), water pollution index (WPI), comprehensive pollution index (CPI), irrigation water quality index (IWQI), entropy weighted water quality index (EWQI), pollution index of groundwater (PIG), composite water quality index (CWQI) and aquatic life water index (ALWI) [16, 17, 19,20,21,22,23,24,25]. In addition to drinking water quality indices, irrigation water quality indices, i.e., hardness, sodium adsorption ratio (SAR), residual sodium carbonate (RSC), residual sodium bicarbonate (RSB), permeability index (PI), magnesium hazard (MH), sodium percentage (Na %), potential salinity (PS) and Kelly’s ratio (KR) are used to understand the irrigation water quality [3, 26,27,28]. The results of these indices have been integrated with geographic information system (GIS) to represent spatial distribution and prioritizing the areas, which needs proper attention for groundwater management [19, 22, 25, 28].

Concentration of ions present in groundwater used for drinking and irrigation is the key source for micronutrients and minerals for human and plants; however, the exceeding concentration of these ions may have negative implications [6, 10, 29, 30]. The severity of health implications due to contaminated groundwater varies in exposed individuals; factors such as exposed duration, exposure frequency, dose of the contaminants, food habit and nutrient intake may determine the extent of health risk [6, 31]. Similarly, the excess of ions present in irrigation water may reduce the soil fertility by increasing the risk of salinity, infiltration and permeability threat, micronutrient toxicity, ion/trace elements toxicity and other crops-specific effects [32]. It may also affect the morphology and physiology of the plants and reduce the overall crop production. In addition, bioaccumulation of metals and metalloids in crops has potential to inter into food chain [33, 34]. The quality of water used for industrial activities is also important as inappropriate water in industrial operation can cause corrosion or scaling on material/container surface resulting an increase in the maintenance and operational costs [35].

The study area is a part of middle Gangetic floodplain, where groundwater is extensively used for drinking and agriculture activities. Decline in groundwater table is observed along the Indo-Gangetic basin [15]; however, the presence of both inorganic and organic contaminants has raised the concern a scale higher [36,37,38,39]. The rural population residing in the study area largely relies on groundwater for their drinking and agricultural purpose, however, without any quality assurance. With these backgrounds the present study is intend to assess the hydrogeochemical evolution of groundwater and its suitability for drinking and irrigation use in Bihar. Along with the ionic ratio, chemometric methods are used to understand the hydrogeochemical process responsible for ionic evolution. The water quality indices are used to assess the suitability for drinking and irrigation. Later the outcomes are represented with GIS map to understand the spatial pattern to prioritize efficient management strategies.

2 Material and methods

2.1 Study area

This study is conducted in Arwal and Jehanabad districts of Bihar (Fig. 1), which lies in the middle Gangetic floodplain, under Son and Punpun sub-basins. River Son and Punpun are the perennial stream flowing through the study area; however, the other seasonal channels such as Dardha, Phalgu, Jamuna, Morhar flows during the monsoon remain dry in other seasons. The study area has a gentle slope toward north, and these rivers follow the surface topography and meet into the main channel of river Ganga. River Son acts as a boundary at the eastern part of the study area, and the groundwater from the opposite bank is reported with high arsenic (As) exceeding WHO guidelines [37, 40]; however, no such detailed studies have been conducted to understand the groundwater quality in the study region. The study area has extreme climate as the temperature is recorded up to 45 °C during summer and it goes down to 3–4 °C winters. The average annual rainfall is 1052 mm out of which 60% of the rain occurs in the monsoon season, i.e., July and August months. As the study area is the alluvial floodplain with dominance of loam and small proportion of sand and clay, the surface soil is highly fertile and it has a high percentage of calcium and nitrogen. The area is under extensive agriculture in both Rabi and Kharif seasons. Along with paddy, maize, wheat, cane, potato, pulses and vegetables are the major crops grown in the study area. Chemical fertilizers, i.e., urea (CH4N2O), phosphatic fertilizer (P2O5) and potash (K2O), are frequently used to improve the crop yield. Groundwater is extensively used for domestic and irrigation purpose, however, development of groundwater resource is found positive, and there is no long-term decline in groundwater table [38].

Fig. 1
figure 1

Study area map with spatial distribution of collected samples and soil type

The underlined geology of the study area has vast tract of Indio Gangetic Quaternary aged alluvium, deposited by the rivers (Fig. 2). The quaternary sequence is further divided into Holocene, i.e., newer alluvium and Pleistocene, i.e., older alluvium [39, 40]. The central and western part of the study area has dominance of Holocene sediment which are organically rich entrenched channels and floodplains, while the Pleistocene older alluvium are found mostly in the eastern part of the study area (Fig. 2) and it has yellow–brown color with profuse calcareous and ferruginous concretions [41]. Presence of inselbergs is also reported in the south eastern part, among which Barabar hills are the most prominent with maximum height 312 m from mean sea level [38]. Aquifers in this region are composed of gravel, sand and clay among which course to medium sand and gravels are the major repository for groundwater. Majority of the area has dominance of alluvial formation; however, in some patches clay are prominent [38]. Alternate layers of clay, sand, sandy clay and silt are observed up to 135 m; however, the basement varies from 120 to 150 m below land surface [38, 41]. The expulsion from the aquifers is very good, and the hourly discharge varies from 20 m3/hr to 50 m3/hr in shallow and deep aquifers, respectively. The depth of groundwater varies from 2 to 5 m as in premonsoon it is found 5–10 m below ground level; however, in postmonsoon it is found 2–5 m below the ground [38].

Fig. 2
figure 2

Geology map of study area

2.2 Collection of samples and field analysis

To investigate the groundwater quality in the study area, a total of 65 samples were collected from March 15 to 18, 2019. The wells were expelled for 5–6 min to eliminate the impacts of iron cast pipes on groundwater quality. The physical parameters, i.e., pH, electrical conductivity (EC) and oxidation reduction potential (ORP), were tested onsite, and in addition to that, information regarding the depth and age of the wells was gathered from the well owner. The handheld pH tester (HANNA (HI98107P) and DiST waterproof EC tester HANNA (HI98303) were calibrated every day before use with the reference solution of 84 µS/cm, 1413 µS/cm and 12.8 mS/cm for EC; however, pH probe was calibrated with standard reference solution of 4.0, 7.0 and 10.0. The readings of the probes were stable, and no systematic or temporal drift in the reading was observed. After measurement of field parameters two set of samples were collected in prewashed and dried high-density polyethylene (HDPE) bottles. One set of sample collected for cation analysis was acidified onsite using the analytical grade 6 N HNO3 (Ultrapure Merck); however, the other for anions analysis was not acidified. Both set of samples were filled up to the top to avoid any headspace and kept in ice box to avoid direct sunlight. After collection, samples were brought to the laboratory and analyzed using the standard protocols, within 10 days of sampling.

2.3 Laboratory analysis of groundwater

An acidified groundwater samples were used to analyze major cations, i.e., sodium (Na+), calcium (Ca2+), magnesium (Mg2+), potassium ( K+) along with arsenic (As), iron (Fe) and manganese (Mn) using inductively coupled plasma (OES 700 series). The reproducibility was found with in order of 5% for all the cations. Un-acidified sample was used to estimate the anionic species, i.e., bicarbonate (HCO3), chloride (Cl), nitrate (NO3) and sulfate (SO42−) in groundwater. Titrimetric method was used to estimate the concentration of HCO3 and Cl in groundwater as prescribed in APHA, 2008. NO3 concentration was measured using the screening method on UV–Visible spectrophotometer (Labman). As prescribed groundwater samples were treated with 1 N HCl to avoid any interference due to hydroxides/carbonates present in the sample. Turbidimetric method was used for SO42−, and the absorbance was recorded at 420 nm wavelength using spectrophotometer [42]. The detection limits of the instruments for each of the groundwater quality parameter are provided in supplementary Table 1. For quality assurance, all the chemicals were of Merck analytical grade and the replicate was analyzed after ever 5 samples. The sample replicates were found within 5% for all the water quality parameters.

Table 1 List of groundwater quality parameters, with relative assigned weights, used in the computation of WQI

The normalized charged balance index (NCBI) was calculated using the following equation, where Tz is the total sum of anions (in epm) and Tz+ is total sum of cations (in epm) [7, 9, 10, 22, 31].

$${\text{WQI}} = \mathop \sum \limits_{{i = 1}}^{n} Wi \times Qi$$
(1)

2.4 Multivariate analysis

Statistical analysis is performed to identify the hidden dimensions among the groundwater variables which cannot be interpreted using direct analysis. Hierarchical cluster analysis (HCA) of groundwater quality parameters is performed to cluster statistically distinct hydrochemical parameters [9]. HCA is the unsupervised pattern detection method which groups the variables based on their similarity. HCA is the most common approach which represent the intuitive similarity between the variables by dendrogram, a visual summary of groups with dimension reduction in original dataset. Z-score transformation was applied to standardize the original data and avoid any misclassification due to the wide range in the data dimension [43]. Q-mode cluster analysis was performed using the wards linkage method with Euclidean distance, to understand the spatial linkages between the groundwater qualities parameters analyzed in this study [9].

Principle component analysis (PCA) was performed using varimax rotation method combined with Kaiser normalization to reduce the volume of the large-scale dataset with minimum loss of information [9, 45]. The values of chemical variables of groundwater have been used for PCA using SPSS software. The values were autoscaled with mean 0 and variance 1. The Bartlett's sphericity test of normalized data has χ2 (cal) = 1285 found more than the χ2 (crit) = 86 (degree of freedom 136, significance level 0.05 and p value < 0.0001) suggests that PCA can be applied successfully. The principle components (PCs) having eigen values > 1 were considered for data interpretation [9, 44]. The loading of each PCs, which is the uncorrelated variable obtained by multiplying the original correlated variables, explains the comparative influence of chemical species on groundwater [7, 9]. The loading of variables > 0.75 is termed as strong, 0.75–0.50 as moderate and 0.05–0.30 as weak loading.

2.5 Geostatistical tools

The spatial location of the groundwater samples has been used to produce the spatial distribution maps of water quality parameters and indices. The inverse distance weighted (IDW) method of spatial interpolation is widely used to generate surface map in groundwater-related studies. The IDW method calculates the moving average of the variable as it relies that the local factors have a significant influence; however, it reduces with increasing distance [10]. The values of water quality parameters and respective indices are interpolated using IDW algorithm in spatial analyst module of Arc GIS 10.3.1. The geological map of the study area was obtained from the Geological Survey of India (GSI) and digitized using Arc GIS.

2.6 Drinking water quality indices

2.6.1 Water quality index (WQI)

WQI is an effective decision-making tool for management of water resources as it provides a holistic overview of water quality and its suitability for various human use [46]. WQI is a numeric method to reduce large number of water quality variables in most scientific and instructive manner and their aggregate impacts on water quality [18, 35]. This is widely used by decision makers across the globe to provide significant information for sustainable water resources management [19, 22, 24, 27, 35, 46].

Calculation of WQI has four major steps, (a) analyst of water quality parameters, (b) transformation in dimensionless number, (c) weightages assign based on their significance and (d) aggregation of quality rating on the basis of the final WQI values [22, 24, 25, 46]. The weightages are assigned on a scale of 1–5, based on the threat to water quality parameters on public health. The maximum weight 5 is assigned to TDS, F, Cl, NO3 based on their significant health implication; however, the lowest weight, i.e., 1 is assigned to HCO3. The relative weight is calculated using Eq. 3.

WQI is calculated using Eq. (2)

$${\text{WQI}} = \mathop \sum \limits_{i = 1}^{n} Wi \times Qi$$
(2)

where Qi is the quality rating, and Wi is relative weight of each parameters, which is calculated by Eq. (3)

$${\text{Wi}} = \frac{wi}{{\mathop \sum \nolimits_{i = 1}^{n} wi}}$$
(3)

Wi is relative weight, wi is weight of each parameter, and n is the total number of parameters. Qi is calculated using Eq. (4)

$$Qi = 100 \times \frac{Ci}{{Si}}$$
(4)

where Ci = Concentration of the water quality parameters (mg/l), and Si = Prescribed standards. For calculation of Si, WHO, 2011 drinking water standards are used. Depending on the values of each parameter weightages on a scale of 1 to 5 have been assigned; further, the relative weight is calculated (Table 1).

2.6.2 Water pollution index (WPI)

The measured groundwater quality parameters are used to estimate the pollution load, based on their prescribed limits by world health organization [47]. WPI in an integrated approach and can be applied on wide range of data set as it converts all the input parameters to a single value which represents the entire pollution load and water quality. In this study all together 15 groundwater variables are used to calculate WPI; however, it provides flexibility to add more numbers of water quality parameters [48].

The WPI is calculated using following Eq. (5)

$${\text{WPI}} = \frac{1}{n}\mathop \sum \limits_{{{\text{i}} = 1}}^{{\text{n}}} PLi$$
(5)

where n is the number of variables and PLi is the pollution load which is calculated using Eq. (6)

$${\text{PLi}} = 1 + \frac{Ci - Si}{{Si}}$$
(6)

where Ci is the concentration of ith parameter, and Si is the recommended standard which is taken from the WHO in this study (Table 1). In case of pH the recommendation limit is in range (6.5–8.5) so if the pH is < 7, then Eq. 6.1 is recommended.

$$PLi = \frac{Ci - 7}{{Sia - 7}}$$
(6.1)

where Sia is the minimum acceptable pH, i.e., 6.5. However if the pH is > 7 in that case Sib is recommended which is the maximum recommended value, i.e., 8.5 and the modified equation would be as Eq. 6.2.

$$PLi = \frac{Ci - 7}{{Sib - 7}}$$
(6.2)

In this study all the samples have pH > 7, except 1 for which Eq. 6.1 is used.

2.6.3 Irrigation water quality indices

The ionic concentration of irrigation water reveals its makeup, and it also provides an understanding about the possible impacts on soil quality and plant growth [46]. The qualitative assessment of water is evaluated using the several indices such as sodium absorption ratio (SAR), sodium percentage (Na %), magnesium hardness, Kelly’s ratio (KR), residual sodium bicarbonate concentration (RSBC), magnesium absorption ratio (MAR), permeability index (PI) and residual sodium carbonate (RSC). These indices are estimated to assess the suitability of water for irrigation and other activities [46, 49, 50]. The details of these indices and the formulas used for computation of irrigation water quality parameters are provided in Table 2.

Table 2 Irrigation water quality parameters and formula used for their computation

3 Results and discussion

3.1 Hydrogeochemistry

The statistical summary of groundwater parameters is helpful in identifying their evolution and variation. Table 3 provides the statistical summary of groundwater quality variables with respect to their recommended values for drinking and irrigation use. The groundwater of study area is slightly alkaline as all the groundwater samples except 1 have pH > 7. The pH values vary from 6.9 to 8.3 with an average of 7.6. The total alkalinity of groundwater varies from 2 to 14.6 mg/L with an average of 6.7 mg/L. High interaction of rainwater with atmospheric CO2 and the air present in the soil imparts alkalinity in groundwater aquifers [51]. Total dissolved solid (TDS) is measures of dissolved solids concentration and an important indicator of palatability, and it ranges from 149 to 1609 mg/L with an average of 560.8 mg/L. Based on the classification by Davis and Dewiest 11 out of 65 collected samples fall under fresh water, 50 samples are under marginal water type, and remaining 4 water samples fall under brackish water type [52]. BIS has not set any standard for EC in drinking water, however, according to the WHO recommends EC up to 1500 µS/cm [47]. Four samples in the study are high EC exceeding WHO guidelines (Table 3). The high concentration of EC and TDS might be attributed due to soil mineralization, resulting in increase in ionic activity in groundwater aquifer [9, 10]. The spatial variation in groundwater quality parameters is observed which could be the result of dissolution and saturation of ions [44]. Oxidation–reduction potential an indicator for aquifer environment indicates the aquifers are oxic as the values range from 2.4 to 265 mg/L (Table 3).

Table 3 List of groundwater quality parameters, with relative assigned weights, used in the computation of WQI

Among the cations Ca2+ is found as most dominant followed by Na+  > Mg2+  > K+, and its concentration varies from 20 to 160 mg/L with an average values of 74.4 mg/L. Na+ varies from 14 to 250 mg/L with an average of 60.5 mg/L. The concentration of Mg2+ and K+ ranges from 4.8 to 102 mg/L and 1.0 to 65 mg/L with an average of 28 mg/L and 11.3 mg/L, respectively. The concentration of cations in groundwater is mostly governed by the interaction between groundwater and aquifer minerals through various geochemical processes such as weathering minerals, ion exchange, dissolution and precipitation [9, 44]. Based on the WHO-recommended values all the cations fall under portable water quality except 3.1% of the samples which exceeds the recommended limit for Na+ and K+, respectively. The concentration of As in groundwater varies from BDL to 9.0 µg/L with an average of 1.6 µg/L, and all the samples have As below WHO guidelines. However, the concentration of Fe and Mn in 24.6% and 52.3% of collected samples exceeds the WHO guidelines for drinking (Table 3). The study area is a part of middle Gangetic flood plain where As in groundwater is major concern for drinking water supply and public health. However, in the present study, we have not found any high As sample exceeding WHO guideline.

The average anions concentration is found as HCO3 > Cl  > SO42−  > NO3, and the concentration of HCO3 varies from 80 to 584 mg/L with an average of 284.6 mg/L. High concentration of Ca2+, Na+ along with HCO3 determines the hardness of groundwater. In total, 32.3% of groundwater samples has high HCO3. HCO3 concentration in groundwater is mainly attributed due to the water soil interactions, root respiration and degradation of organic matters [6]. Concentration of Cl ions ranges from 3.8 to 289.3 mg/L with an average of 55.5 mg/L. Climatic condition such as high evaporation attributes Cl ions in groundwater; however, dissolution of halite minerals is also considered as the source of Cl in groundwater [45]. The average values of SO42− and NO3 are found 27.9 mg/L and 3.7 mg/L, respectively. The concentration of SO42− and NO3 in groundwater is attributed mainly due to anthropogenic activities such as leaching of fertilizers and agricultural runoff, municipal waste, leakages from the septic tank [18, 54]. Study area is under extensive agriculture, and nitrogenous fertilizers are frequently used to improve the fertility in this region. Leaching of agricultural runoff might contribute NO3 in groundwater. Fluoride concentration varies from BDL to 2.1 mg/L and 15.4%, i.e., 10 out of 65; samples have high F exceeding WHO guideline of 1.5 mg/L. High F may be attributed to the dissolution of fluoride-bearing minerals in the study area. The standard deviation of few groundwater quality parameters exceeds their average concentration which indicates that the geochemistry of study area is not homogenous [9, 10].

3.2 Geochemical evolution of groundwater

The chemical characteristics of groundwater depend on the interaction between the groundwater and subsurface rocks, minerals and sediment [9,10,11,12,13]. To understand the dominance of ionic species and hydrogeochemical facies Chadha diagram was plotted [55], which divides the groundwater into eight rectangular fields and each field corresponds to the major water facies and hardness (Fig. 3a). In Chadha diagram each number on the rectangular field provides the details of water facies as (1) represents alkaline earths exceeds alkali metals. (2) Alkali metals exceed alkaline earth elements. (3) Weak acidic anions concentration exceeds strong acid ions. (4) Strong acidic anions surpass weak acidic anions. (5) Alkaline earths and weak acid anionic species suppress alkali metals and strong acidic anions and represents Ca-Mg-HCO3 water type; (6) represents Ca–Mg–Cl water types where alkaline earths exceed alkali metals and strong acidic anionic species exceeds weak acidic anions; (7) represent the dominance of Na-Cl and Na-SO4 water type due to the excess of alkali metals over alkaline earths and strong acidic anion over weak acidic anions; (8) belongs to the Na-HCO3 water types where alkali metals exceed alkaline earths and weak acidic anionic species exceeds over strong acidic species [55]. In this study, most of the groundwater samples fall in category 5, which represents Ca-Mg-HCO3 water type followed by Na-HCO3 water type; however, a few water samples also correspond to Mg-HCO3 and Mg-SO4 water types (Fig. 4a).

Fig. 3
figure 3

a Chadha diagram representing ground water facies. b TDS versus Cl/(Cl + HCO3). c TSD versus (Na+ + K+)/( Na+ + K+ + Ca2+). d Scatter plot Cl and Na+ ions. e Scatter plot of Na+ vs total cations (TC). f Scatter plot between CAI I and CAI II. g Scatter plot between Ca + Mg versus SO4 + HCO3. h Plot between TDS and (Cl + NO3)/HCO3

Fig. 4
figure 4

Scree plot and component loading of PC 1, PC 2 and PC 3 in rotated space

To understand the hydrogeochemical processes responsible for the evolution of groundwater quality, the ionic species were plotted against the TDS concentration [56]. Gibbs diagram groups the samples in three major domains, i.e., rock water-dominant zone, evaporation-dominant zone and precipitation-dominant zone [9, 23]. The groundwater quality is under the major influence of rock water dominance except for few samples which are influenced by the evaporation. The results of the Gibbs diagram indicate that the weathering of rocks and aquifer minerals is the controlling factor for evolution of ionic species in groundwater of the study region (Fig. 3b, c).

The ionic evolution of the groundwater is mainly controlled by the hydrogeochemical processes. The molar ratio of Na+ vs Cl is used to indicate the source of Na+ ions in groundwater, and the values close to the equiline suggest halite dissolution as major source; however, the values higher than 1 suggest the excess of Na+ might be attributed due to other process, i.e., silicate weathering or cation exchange [23]. The high Na+ ions suggest that apart from halite dissolution excess of Na+ is contributed from the other sources (Fig. 3d). In case of silicate weathering along with the Na+ it will also attribute high HCO3 in groundwater. The study area has dominance of HCO3, and to verify the influence of silicate weathering on groundwater quality, the scatter plot between the Na+ and total cations is often used. Groundwater samples located below the 1:2 line, indicate that in addition to silicate weathering there is other hydrogeochemical processes, which significantly affects the Na+ ions concentration in groundwater (Fig. 3e).

$$CAI \, 1 \, = \, Cl^{ - } \left( {Na^{ + } + \, K^{ + } } \right) \, /Cl^{ - }$$
(7)
$$CAI \, 2 \, = \, Cl^{ - } - \, (Na^{ + } + \, K^{ + } SO_{4}^{2 - } + \, HCO_{3}^{ - } + CO_{3}^{2 - } + \, NO_{3}^{ - }$$
(8)

The chloro-alkalinity indices (CAI) are proposed as an indicator of specific ion exchange reaction in groundwater [6, 57]. The chloro-alkalinity indices (CAI-I and CAI-II) are calculated using Eq. 7 and 8. The values of CAI I and CAI II will be negative in case the Na+ ions absorbed on the surface of fine-grained aquifer materials will be replaced by the Ca/Mg ions, resulting in the increase of Na+ ions in groundwater. However, the values of CAI I and CAI II will be positive when the Na+ from groundwater will be exchanged by the adsorbed Ca2+ and Mg2+ ions from surface. As represented in Fig. 3f, the majority of groundwater sample falls on the lower left panel, indicating influence of reverse ions exchange resulting in the increase of Na+ in groundwater. A few samples also fall away from the left panel which suggests ion exchange, resulting in increase Ca/Mg ions in groundwater. The ionic ratio of Ca2+ and Mg2+ ions is often used to determine the source of calcium and magnesium in groundwater [6]. In case of dolomite dissolution, the ratio of Ca/Mg will be close to 1, and greater values suggest dominance of silicate weathering on groundwater. In this present study the ratio of Ca2+ and Mg2+ suggests silicate weathering is dominant process controlling groundwater quality (Supplementary Fig. 1). Scatter plot between Ca + Mg and SO4 + HCO3 indicates the exchange of ions in groundwater and aquifer minerals. If the samples are close to the equiline, it suggests that dissolution of minerals such as calcite, dolomite or gypsum and ion exchange controls the groundwater quality and samples will lie toward right; however, in case of reverse ion exchange the points will shift toward left of the equiline. Most of the groundwater samples from this study fall toward left of the equiline, indicating reverse ion exchange controls the ionic concentration in groundwater (Fig. 3f). To investigate the influence of anthropogenic activities on groundwater quality TDS and (NO3 + Cl)/HCO3 molar ratio are used (Fig. 3g). Significant positive relation (R2 = 0.59) between TDS and the molar ratio of these anions suggests influence the anthropogenic activity on groundwater quality [58, 59].

3.3 Multivariate statistics

The degree of correlation among the water quality parameter is analyzed by establishing the relationship between two variables. The value of correlation coefficient “r” provides the information that how one parameter is associated with another; however, the sign indicates the positive or negative association. A positive strong correlation shows similar origin of ions; however, the week association between groundwater quality parameters indicates that the ions are independent from each other [7, 9, 44]. The value of r > 07 is considered as strong; however, the r between 0.5 and 0.7 is considered as moderate [44]. In this study EC shows strong positive correlation with Cl, HCO3, SO4, Mg2+, Ca2+ and Na+; however, it has positive moderate association with NO3. The strong correlation between these ions with EC indicates major influence of these ions of groundwater quality. The dissolution of aquifer minerals along with the rainwater interaction and anthropogenic activities prevailing in the study area has major influence on high EC in groundwater. Apart from EC, Cl-Mg, Cl-Ca, HCO3-Na, SO4-Mg are strongly correlated, while HCO3-Cl, SO4-Cl, NO3-Cl, Na-Cl, Mg-HCO3, Ca-HCO3, SO4-NO3 Ca-NO3, Na-Mg and Ca-Mg have moderate correlation (Table 4). The positive association between these ions suggests similar source and indicates influence of anthropogenic and natural activities on groundwater.

Table 4 Correlation analysis of physicochemical parameters

Results of Q-mode HCA of the groundwater quality data indicate two major associations between 17 water quality variables (Supplementary Fig. 2). The 2 groups are obtained as a result of HCA, and it has been clustered on the basis of major ions, which contributes to overall EC of the samples. Group 1 includes 49 samples, while Group 2 consists of 16 samples. The exclusivity of these two clusters is that the average concentrations of physico-chemical parameters of cluster 1 are less than cluster 2. Ca-HCO3 is found as the most dominant group in cluster 1, as 81.6% of the sample belongs to this water facies, while in cluster 2, Na-HCO3 is most dominant with 50% of the samples that have Na-HCO3 water facies. The EC value depends on the concentration of dissolved ions, it has been found that the average value of EC in cluster 1 is 625.3 μS/cm, while it increases in Group 2 up to 1375 μS/cm.

Based on the eigen values > 1, four major factors are extracted and sequentially, which cumulatively accounted for 71.7% of total variance in the data. PC 1 accounts for 43.7% of the total variance with highest eigen values of 7.44 (Table 5). It has strong positive loading of alkalinity, EC, Cl, HCO3, SO42−, Na+, Mg2+ and Ca2+ however moderate loading of NO3. High loading of EC with these ions indicates influence of both anthropogenic and natural activities on groundwater quality. The significant positive loading of anions including Cl, NO3 and SO42− indicates influence of anthropogenic activities [60]. The study area is a part of alluvial floodplain with extensive agriculture activities, discharge of fertilizers along with irrigation return flow might contributed NO3 and Cl in groundwater; however, leaching of sewage and human waste might be responsible for high SO42−. Apart from anions the high loading of cations including Mg2+, Na+ and Ca2+ along with high HCO3 seems to be governed from the dissolution of aquifer minerals. PC 2 explains 13.54% of the total variance, and it has eigen value 2.3, it has high loading of Fe, As, and although not much significant but positive loading of Mn, and HCO3 however negative loading of ORP. High and positive loading of Fe and As and negative loading of ORP indicate that dissolution of Fe bearing minerals in reducing environment is the source of As in groundwater. The dissolution of FeOOH is considered as the major source of groundwater As [10, 31, 39, 40]. Study area is a part of alluvial floodplain of river Ganga poorly drained and has a high organic matter which provides a favorable condition for microbially mediated reduction of iron/manganese oxides/oxyhydroxides resulting release of Fe and adsorbed As into groundwater [31, 40]. However, the concentration of As is found well below the WHO guideline for drinking. PC 3 explains 7.9% of the variance with eigen value 1.3, and PC 4 explains 6.4% of variance with eigen value 1.1, respectively. High and positive loading of F along with pH in PC 3 suggests dissolution of fluoride-bearing minerals in alkaline condition. In case of hydrolysis of silicate minerals the concentration of cations, especially, Ca2+, Na+ and K+, should increase simultaneously with F [61]; however, the negative association between F and Ca2+ is found in the study region which suggests the dissolution of fluorite as a source of F ions in groundwater [31]. High concentration of HCO3 is also found which may favor the dissolution of fluoride and precipitation of carbonate minerals, i.e., calcite and dolomite [9]. Ion exchange will take place between OH and F which will result in increased concentration of F in groundwater; however, in addition the reverse ion exchange may limit the Ca2+ ions in groundwater [9].

Table 5 Factor loading of each of the principle components

3.4 Suitability of groundwater for drinking

The groundwater quality parameters were compared with the WHO guidelines for drinking and human consumption. Among the major ions 32.3% of the groundwater samples exceed the recommended limits for HCO3, 6.2% has high EC, and 3.1% has high Na+ and K+; however, the pH of all the groundwater samples is found within the permissible limits. Based on the health risk and severity high F along with Fe and Mn is found as major concern as 15.4%, 52.3% and 24.6% samples exceeds the WHO guidelines, respectively. High concentration of F is mostly attributed due to the natural activity, i.e., weathering and dissolution of aquifer minerals in favorable environment however anthropogenic activity as fertilizers may also contribute F in groundwater. At certain amount, F is essential for the formation of bones and teeth; however, the exceeding concentration F in groundwater may cause bone deformation, dental caries along with dental and skeletal fluorosis [29, 30]. Long-term exposure of high F can cause intellectual damage in children and mental retardation along with loss of fertility, miscarriage and birth abnormalities [29]. Similarly the exceeding Mn concentration beyond the permissible limits may also have severe health risks [62].

Furthermore the groundwater quality was also evaluated through WQI and WPI (Fig. 5). WQI is a dimensionless values which classifies water into 5 major classes, i.e., (a) WQI < 50 represents excellent water, (b) WQI 50–100, good water quality, (c) WQI values 100–200, poor water, (d) WQI 200–300, very poor and (e) WQI > 300 not suitable for drinking and domestic use [46]. WQI values vary from 14.4 to 157.2 with an average of 51.1. In total, 37 out of 65 samples (56.9%) belong to the excellent water quality, 24 out of 65 (36.9%) belong to good water quality, and 4 out of 65, i.e., 6.1% samples, are categorized under poor water quality (Table 6). However none of the groundwater falls under very poor or unsuitable category. Similar to WQI, WPI is also used to understand the pollution load, the values of WPI suggest four water quality as: WPI < 0.5 corresponds to excellent quality, WPI 0.5–0.75 signifies good water; (c) WPI 0.75–1.0 suggests moderately polluted; however, WPI exceeding 1 indicates severely polluted water [48]. The results of WPI indicate that 43.07% samples (28 out of 65) are under excellent water category, i.e., WPI < 0.5, 33.8% samples, i.e., 22 out of 65 are under good water with WPI 0.5–0.75, 13.8%, i.e., 9 out of 65 samples lies under moderately polluted and 9.2%, i.e., 6 out of 65 are under highly polluted water category and not recommended for human consumption. The details about the spatial distribution of the WPI and WQI are provided in Table 6.

Fig. 5
figure 5

Spatial distribution of water quality index and water pollution index in study area

Table 6 Summary of irrigation water quality indices in study area and % of samples falling in each class and their spatial details

3.5 Suitability of groundwater for irrigation

The study area is under extensive agriculture as it is a part of fertile alluvial floodplain of river Ganga and its tributaries. The concentration of EC in irrigation water is important as it has a direct impact on plants metabolism, and it is also evident that high EC in irrigation water may reduce the fertility of soil by reducing its permeability and aeration capacity. The irrigation water is classified in five major classes based on the EC concentration. In this study, 1.5%, i.e., 1 out of 65 collected sample, falls under excellent category; however, majority of the samples, 36 out of 65, i.e., 55.3% falls under the good water category, 40% of the samples falls under just permissible, and 3% samples are doubtful for agricultural use (Table 6). Based on the classification of Cl in irrigation water it has been found that 78.4% of groundwater samples are safe for all crops; however, 7.69% samples are sensitive and 12.3% are moderately suitable for irrigation use (Table 6). High concentration of Cl in irrigation water may burn the leaf and alter the photosynthesis pattern in plants resulting low productivity [63]. The concentration of K exceeds the BIS guidelines for irrigation in 9.6% of the samples. Sample numbers 23, 32, 33, 37 and 46 have high potassium which makes it unsuitable for irrigation.

The groundwater quality variables are used to calculate the irrigation water quality indices, i.e., SAR, Na %, MH, KR, RSBC, MAR, PI, RSC using the standard formula and ionic ratio provided in Table 2. The calculated values of most of these indices are within the permissible limits; however, based on RSBC values 27.6% of the samples needs proper treatment and 10.7% are unfit for irrigation (Table 6). Similarly, 12.3% of samples are unsuitable based on the MAR values, 3% are unfit based on RSC and KR, and 1.5% samples are under doubtful and unsuitable based on Na% values. High values of these indices may have negative impacts on crop productivity and soil fertility [64, 65]. USSL diagram is plotted to determine the suitability of groundwater for irrigation as it evaluates the groundwater quality-based SAR values and salinity hazard, i.e., EC. The USSL diagram infers that 72.5% of the samples has medium salinity hazard and low sodium hazard, and this water is moderately suitable for irrigation (Fig. 6). However 21.5% samples have high salinity hazard with low sodium hazard, and 3% has very high salinity hazard with low sodium hazard, and it is not recommended for irrigation.

Fig. 6
figure 6

USSL diagram for water sample from study area

4 Conclusion

The study evaluates the groundwater quality and its evolution in middle Gangetic floodplain. The study area is under extensive agriculture and groundwater is mostly used for irrigation and drinking water, so the suitability of groundwater for drinking and irrigation use is also evaluated. This study infers that the ionic evolution of groundwater is controlled by both natural and anthropogenic activities. The excess of EC and other ions including Cl, HCO3, Na+, K+ makes the groundwater unfit. However, high F and Fe is found as the major public health concern due to their sever health implications. Chadha diagram infers that Ca-Mg-HCO3 is the most dominant water type followed by Na-HCO3, Mg-HCO3 and Mg-SO4 water types. Rock water interaction seems as the major controlling factor for groundwater quality. Silicate weathering along with the ion exchange is major hydrogeochemical process responsible for the ionic species in groundwater. The results of chemometric analysis also support the findings of hydrogeochemical investigations. The overall water quality for drinking was evaluated using WQI and WPI, and the results of WQI values suggest that 6.1% samples belong to poor water class; however, based on WPI 23% samples belong to moderately polluted or severely polluted categories. Therefore, it needs to be treated before being used for drinking or supply to households. Although majority of groundwater samples are suitable for irrigation; however, the groundwater exceeding the limits of RSBC, MAR, RSC and with high salinity hazard with low sodium hazard needs proper attention before used for irrigation. The testing of wells and alternate option for drinking water supply in fluoride affected regions is advised to reduce exposure. The outcomes of this study with spatial distribution maps of water quality parameters and indices can be used for prioritizing the area for effective management of groundwater resources in the study region.