# Fibonacci Sequence Generator

Generate Fibonacci sequence with customizable start numbers, length, and output format. Includes golden ratio analysis and mathematical properties.

> Canonical page: https://elysiatools.com/en/tools/fibonacci-generator

- **Category:** Math & Numbers

- **Keywords:** fibonacci, sequence, generator, golden ratio, phi, mathematics, numbers, fibonacci generator

## Overview

The Fibonacci Sequence Generator allows you to quickly create custom Fibonacci sequences by defining starting values, sequence length, and preferred output formatting. It provides essential mathematical insights, including golden ratio analysis and sequence properties, making it an ideal tool for students, developers, and researchers.

## Inputs

- **First Number (F₀)** (number): First number of sequence
- **Second Number (F₁)** (number): Second number of sequence
- **Sequence Length** (number): How many numbers to generate (1-100)
- **Output Format** (select)
- **Show mathematical properties** (checkbox)
- **Decimal Precision** (number): Decimal places for ratios (0-15)

## When to use

- When you need to generate a specific number of Fibonacci terms for mathematical modeling or algorithm testing.
- When you require a sequence formatted for direct integration into code, spreadsheets, or text documents.
- When you need to analyze the convergence of the sequence toward the golden ratio (phi) with specific precision.

## How it works

- Enter your desired starting numbers (F₀ and F₁) to define the sequence base.
- Specify the total length of the sequence you wish to generate.
- Select your preferred output format, such as an array, comma-separated list, or indexed view.
- Toggle the mathematical properties option to view the golden ratio and related sequence data.

## Use cases

- Educational demonstrations of recursive patterns and the golden ratio.
- Generating test data for software algorithms that rely on Fibonacci-based logic.
- Quickly creating numerical sequences for design patterns or layout calculations.

## Frequently asked questions

### Can I start the sequence with numbers other than 0 and 1?

Yes, you can define any two starting integers to generate a generalized Fibonacci-style sequence.

### What is the maximum length of the sequence I can generate?

You can generate up to 100 terms in a single sequence.

### How does the tool calculate the golden ratio?

The tool calculates the ratio of consecutive terms (Fₙ/Fₙ₋₁) and displays the result based on your chosen decimal precision.

### Are there limits on the starting numbers?

Starting numbers must be between -1,000,000 and 1,000,000.

### Can I export the sequence as a list?

Yes, you can choose from several output formats including comma-separated, space-separated, or line-break formats for easy copying.

## Related tools

- [Three-Phase Short-Circuit Current Calculator (IEC 60909)](https://elysiatools.com/en/tools/short-circuit-current-calculator): Estimate the three-phase symmetric short-circuit current using the IEC 60909 far-from-generator method: I"_k = c·U_n/(√3·|Z|) and i_p = κ·√2·I"_k with κ = 1.02 + 0.98·e^(−3R/X). Source impedance is the series sum of transformer and line R/X.
- [Unit Converter with Formula Display](https://elysiatools.com/en/tools/unit-converter-with-formula): Convert common physical, chemistry, cooking, medical, and information units with the formula and dimensional analysis visible.
- [Pascal's Triangle Generator](https://elysiatools.com/en/tools/pascals-triangle): Generate Pascal's triangle with customizable number of rows
- [Prime Factorization Calculator](https://elysiatools.com/en/tools/prime-factorization): Factor any integer into its prime factors with detailed analysis and mathematical properties.
- [Quadratic & Linear Equation Solver](https://elysiatools.com/en/tools/quadratic-equation-solver): Solve quadratic equations ax² + bx + c = 0 and linear equations bx + c = 0 with detailed steps, discriminant analysis, vertex calculation, and axis of symmetry.
- [Permutation / Combination / Subset Generator (With Repeats)](https://elysiatools.com/en/tools/combinatorial-generation): Deduplicated, lexicographic permutations / combinations / subsets of up to 12 items with exact multiset counts; display capped at 200 entries.
- [Data Crosstab Generator](https://elysiatools.com/en/tools/data-crosstab-generator): Advanced crosstab (pivot table) generator that creates powerful cross-tabulation analysis from your data. Perfect for business intelligence, statistical analysis, data exploration, and reporting. Features: - Multiple aggregation functions (sum, count, average, min, max, median) - Flexible row and column grouping - Percentage and ratio calculations - Row/column totals and grand totals - Multi-dimensional analysis - Conditional formatting support - Statistical significance testing - Custom sorting and filtering - Export-ready formatting Common Use Cases: - Sales analysis by region and product - Customer demographics analysis - Financial statement analysis - Survey response analysis - Inventory turnover analysis - Performance metrics tracking
- [Fraction Decimal Converter](https://elysiatools.com/en/tools/fraction-decimal-converter): Convert between fractions and decimals with support for mixed numbers, improper fractions, and various decimal formats

## Samples

- [Android Image Processing Java Samples](https://elysiatools.com/en/samples/android-image-processing-java): Android Java image processing examples including reading/saving images, scaling, and format conversion
- [Android Image Processing Kotlin Samples](https://elysiatools.com/en/samples/android-image-processing-kotlin): Android Kotlin image processing examples including reading/saving images, scaling, and format conversion
- [Web Image Processing Python Samples](https://elysiatools.com/en/samples/web-image-processing-python): Web Python image processing examples using PIL/Pillow including reading, saving, resizing, and format conversion
- [Web Image Processing Rust Samples](https://elysiatools.com/en/samples/web-image-processing-rust): Web Rust image processing examples including image read/save, scaling, and format conversion
