Abstract Different types of number theories such as elementary number theory, algebraic number theory and computational number theory; algebra; cryptology; security and also other scientific fields like artificial intelligence use applications of quadratic fields. Quadratic fields can be separated into two parts such as imaginary quadratic fields and real quadratic fields. To work or determine the structure of real quadratic fields is more difficult than the imaginary one. The Dirichlet class number formula is defined as a special case of a more general class number formula satisfying any types of number field. It includes regulator, ℒ-function, Dedekind zeta function and discriminant for the field. The Dirichlet’s class number h(d) formula in real quadratic fields claims that we have h ( d ) . log ε d = Δ . ℒ ( 1 , χ d ) h\left(d \right).log {\varepsilon _d} = \sqrt {\Delta} {\scr L} \left({1,\;{\chi _d}}\right) for positive d > 0 and the fundamental unit ɛ d of ℚ ( d ) {\rm{\mathbb Q}}\left({\sqrt d} \right) . It is seen that discriminant, ℒ-function and fundamental unit ɛ d are significant and necessary tools for determining the structure of real quadratic fields. The focus of this paper is to determine structure of some special real quadratic fields for d > 0 and d ≡ 2,3 (mod4). In this paper, we provide a handy technique so as to calculate particular continued fraction expansion of integral basis element w d , fundamental unit ɛ d , and so on for such real quadratic number fields. In this paper, we get fascinating results in the development of real quadratic fields.